CHECK
[email protected] (Juerd Waalboer) Thu, 4 Oct 2007 19:28:11 +0200
| Newsgroups | perl.unicode |
|---|---|
| Message-ID | <[email protected]> |
It'd be nice if CHECK = sub { ... } actually worked for decoding UTF-8,
e.g.:
decode("UTF-8", $foo, sub { chr shift })
It'd be even nicer if CHECK could be a string, the name of an 8bit
encoding to use as a fallback:
decode("UTF-8", $foo, "latin1");
--
Met vriendelijke groet, Kind regards, Korajn salutojn,
Juerd Waalboer: Perl hacker <#####@juerd.nl> <http://juerd.nl/sig>
Convolution: ICT solutions and consultancy <[email protected]>