|
|
| The stupid question is the question not asked | |
| PerlMonks |
Re^3: Windows-1252 characters from \x{0080} thru \x{009f} (source-code encoding)by ikegami (Pope) |
| on Apr 19, 2012 at 05:57 UTC ( #965864=note: print w/ replies, xml ) | Need Help?? |
|
I don't know of a single place where Perl assumes iso-8859-1. There are many places where Perl requires strings of Unicode code points. (In the above program, those would be the match operator and the encoder.) Since the strings passed to those were created by assigning each byte to a character, each byte is taken to be a Unicode code point. Not an iso-8859-1 character. This makes it *look* like Perl defaults to iso-8859-1, but there is no "default" since there is only ever one thing those functions can accept. Because there is no default, it also means the default cannot be changed, to cp1252 or anything else.
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||||||||||||||