character set detection?

Dan Sully daniel at electricrain.com
Sun Jan 7 00:53:03 GMT 2007


* Dirk Koopman shaped the electrons to say...

>Is there a way of, reasonably reliably, determining what the character
>set of a lump of text is?

Not easily. Encode::Detect::Detector is useful. Also check out the code I've
written here:

http://svn.slimdevices.com/trunk/server/Slim/Utils/Unicode.pm?rev=10564&view=markup

-D
--
Adobe Photoshop - When you want the truth. Real bad.


More information about the london.pm mailing list