in reply to Pragma to handle unicode characters
It seems to help, but I don't have enough experience with unicode strings to really test it properly.
$ perl -CSDAL -e 'print "the utf8 flag is ", utf8::is_utf8(shift) ? "o +n" : "off", " for command-line arguments\n"' hi...the utf8 flag is on + for command-line arguments
$ perl -e 'print "the utf8 flag is ", utf8::is_utf8(shift) ? "o +n" : "off", " for command-line arguments\n"' hi... the utf8 flag is off for command-line arguments
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Pragma to handle unicode characters
by wanradt (Scribe) on Dec 22, 2008 at 09:01 UTC | |
by Anonymous Monk on Dec 22, 2008 at 16:21 UTC |