good chemistry is complicated, and a little bit messy -LW |
|
PerlMonks |
Re: replacing special characters in fileby Joost (Canon) |
on Aug 05, 2005 at 10:28 UTC ( [id://481170]=note: print w/replies, xml ) | Need Help?? |
Perl used to only allow ASCII in identifiers, String literals in perl can be in any encoding, but how they will look in your editor is dependent on the editor (and possibly on markings in the file). Most modern editors support UTF-8 unicode encoding, and I'd guess that most win32 editors support the win32 specific encodings too. Input & output can be in many encodings, but in most cases, you need to specify what encoding you're going to use. See perluniintro, binmode, utf8 and Encode.
In Section
Seekers of Perl Wisdom
|
|