in reply to Cannot preserve Latin 2 character sets in Perl
You need to supply more context. By default, Perl treats literal strings as bytes, so if your script is stored in the encoding that your console accepts, it should work.
If it doesn't work, there is probably a mismatch between these two encodings, but that's hard to diagnose without even knowing which operating system you use.
If this is some Unix dialect, what's your locale? What terminal or terminal emulator are you using? Which editor do your use, and what character encoding does it store files in?
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Cannot preserve Latin 2 character sets in Perl
by PerlPksky (Initiate) on Sep 29, 2011 at 22:19 UTC | |
by moritz (Cardinal) on Sep 30, 2011 at 06:48 UTC | |
by PerlPksky (Initiate) on Sep 30, 2011 at 16:14 UTC |