Re: hilghlighting



On Wed, 12 May 2010 12:10:04 +0200
deloptes <deloptes yahoo com> wrote:

> But back to the original question. why shouldn't be string in MinGW the same
> as string in linux? 

Because Linux is natively UTF-8 and therefore handles UTF-8 strings.
MinGW sits on top of Windows, which is UCS-16 - that is, any unicode
string must use wide characters throughout, so any "normal" string has
to be translated. The default behaviour of Windows is to assume that
such traditional strings are CP1252 or some such, and therefore make
the wrong translation to UCS when presented with UTF-8.


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]