in reply to replacing special characters in file
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.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: replacing special characters in file
by xdg (Monsignor) on Aug 05, 2005 at 12:13 UTC |