CSS-DOM

 view release on metacpan or  search on metacpan

lib/CSS/DOM.pm  view on Meta::CPAN

407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
  return $css_code, decode => 1, encoding_hint => 'iso-8859-1';
 
These correspond to the next two items:
 
=item decode
 
If this is specified and set to a true value, then CSS::DOM will treat the
CSS code as a string of bytes, and try to decode it based on @charset rules
and byte order marks.
 
By default it assumes that it is already in Unicode (i.e., decoded).
 
=item encoding_hint
 
Use this to provide a hint as to what the encoding might be.
 
If this is specified, and C<decode> is not, then C<< decode => 1 >> is
assumed.
 
=back



( run in 0.225 second using v1.01-cache-2.11-cpan-1dc43b0fbd2 )