This is the mail archive of the
cygwin-developers
mailing list for the Cygwin project.
Re: Console codepage setting via chcp?
- From: Charles Wilson <cygwin at cwilson dot fastmail dot fm>
- To: cygwin-developers at cygwin dot com
- Date: Sat, 26 Sep 2009 21:50:45 -0400
- Subject: Re: Console codepage setting via chcp?
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