in reply to Re^2: Writing unicode characters to file using open($fh, ">:utf8, $name) mangles unicode?
in thread Writing unicode characters to file using open($fh, ">:utf8, $name) mangles unicode?
update: very compactly:
Encode::encode() etc translate text strings in perl into binary strings in some external encoding.
Encode::decode() and friends translate binary strings from some encoding into perl text strings.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: Writing unicode characters to file using open($fh, ">:utf8, $name) mangles unicode?
by telcontar (Beadle) on Aug 09, 2007 at 04:17 UTC |