Re: EncodingManager question


Subject: Re: EncodingManager question
From: Tomas Frydrych (tomas@frydrych.uklinux.net)
Date: Mon Apr 16 2001 - 02:51:07 CDT


> I'm updating my Win32EncodingManager to match the new changes,
> especially since mine was based directly off the Unix one.
> I'ved noticed a member "isUnicodeLocale" which neither my nor
> the Unix class implements
> Is this function to return true no matter which kind of Unicode
> locale is used? Unix uses UTF-8 but Windows uses UCS-2. If
> I return true will other parts of the code assume this to mean
> UTF-8?

see xap_EncodingManager.h
At the moment this function returns true if the encoding is utf-8. It
is used currently only on Unix to determine whether we need to do
ucs2 -> native conversion before drawing on screen. As far as I am
concerned, it could return true for ucs2 as well, if that is needed
elsewhere, all I need to know is whether the current locale is
limited to 256 characters or not.

Tomas



This archive was generated by hypermail 2b25 : Mon Apr 16 2001 - 02:52:06 CDT