Jeffrey,
I'm aware it's not a perfect solution. I am not trying to design
something pleasing to the eye, I'm simply trying to capture current
practice and implement something useful.
If you can point me to legacy applications that expect terminal input
in a certain format, I'm open to implementing what they expect.
But for now...
JA> How do I switch from ISO 8859-1 to ISO 8859-4 using your scheme?
You don't. If you need multilingual input, use UTF-8.
JA> How do I switch to UTF-8 mode?
You don't. If you need multilingual input, don't use the ISO 2022
wrapper.
JA> How does the host application know which mode the terminal input
JA> stream is using?
It checks the locale.
Juliusz
-
Linux-UTF8: i18n of Linux on all levels
Archive: http://mail.nl.linux.org/linux-utf8/