Re: Interpretation of non-UTF8 strings
[email protected] (Jarkko Hietaniemi)
| Newsgroups | perl.unicode |
|---|---|
| Message-ID | <[email protected]> |
> >>Also, 'use encoding' must still have the encoding specified literally, > > > Which makes a kind of sense to me. > 'use encoding qw(...)' > (mainly) sets meaning of literals in the script. > Presumably you know what encoding you are in when you write > your script, but you don't know what locale user will be in when script > gets run. Good point. But the encoding pragma controls other things than just the script encoding, and I like giving users too much rope, and the change to support :locale for encoding is trivial, so I'll try. > -- Jarkko Hietaniemi <[email protected]> http://www.iki.fi/jhi/ "There is this special biologist word we use for 'stable'. It is 'dead'." -- Jack Cohen