RE: UTF-8 on NT

From: Marco Cimarosti (marco.cimarosti@essetre.it)
Date: Wed Sep 05 2001 - 04:31:39 EDT


Timothy Greenwood wrote:
> What happens is you issue
> chcp 65001
> from a DOS box that then kicks off the windows app?

Nothing, I think.

The encoding(s) of a GUI application is not influenced by the encoding(s) of
the process that starts it. Especially, there is little or no link between
the encoding of DOS Box (aka Command Box) and the encoding of the rest of
Windows.

Notice that the various control objects that make up a GUI window can have
different encodings. E.g., you can have in the same dialog window: a Latin
1 button, a simplified Chinese text box, and a Japanese ballot control.

Moreover, the support of encodings may be not uniform for all kinds of
controls; e.g., it is notoriously a pain in the neck to change the encoding
of window titles and menus, while it is much easier for other parts of a
window. More-more-over, GUI controls are provided by a variety of sources,
and the company that ships grid controls can be more or less i18n-aware than
the company that ships Mickey-Mouse-shaped push-buttons.

_ Marco



This archive was generated by hypermail 2.1.2 : Wed Sep 05 2001 - 05:43:05 EDT