Tomohiro KUBOTA <[EMAIL PROTECTED]> wrote: >> > Is there a way to detect if the terminal that a script is running in >> > can display UTF-8 text? >I think it would be helpful if terminal itself sets some environmental >variable for this purpose. Here is an example of such variables. > >TERMENCODING
Look at Metamail's MM_CHARSET. This variable is used for indication of _terminal_ encoding for some systems (FreeBSD from v1.1.5.1 for example ;) and for some MUAs. Yes, this is hack and back-side effect... :) P.S. http://www.sensi.org/~alec/man/man1/metamail.html -- -=AV=- -- Linux-UTF8: i18n of Linux on all levels Archive: http://mail.nl.linux.org/linux-utf8/
