Subject: | merge suggestion |
I started a similar effort, but never made a really good module of it.
One other aspect I had covered was guessing the encoding of a terminal
device. Therefore I send typical latin1 and utf8 codes, and monitor
cursor movement. This reveals if the tty lives in utf8 or latin1 world.
If you are interested in integrating something from my code, please see
http://search.cpan.org/~jnw/Text-GuessEncoding-0.07/