Console codepage setting via chcp?

Charles Wilson cygwin@cwilson.fastmail.fm
Sun Sep 27 01:51:00 GMT 2009


Corinna wrote:
> is it really
> desirable to allow UCS-2 values in UTF-8 strings?

I wouldn't think so. There are many software packages that handle
unicode using their own code (rather than relying totally on OS support)
such as ICU, XERCES-C, python, etc.  I imagine that these packages would
become very confused if given "UTF-8" strings that actually contained
some UCS-2 codes...

Now, maybe the answer is "Don't Do That" and "you should always use OS
routines".

--
Chuck



More information about the Cygwin-developers mailing list