[Patches] Unicode changes.

M.-A. Lemburg mal@lemburg.com
Tue, 28 Mar 2000 11:11:30 +0200


Mark Hammond wrote:
> 
> > BTW, do you have a pointer to the definition of MBCS -- the
> > M in there sound very much like the M in MS ;-)
> 
> Officially, the M is "Multi", as DBCS can sometimes mean more than
> "double"?
> 
> The best doc I can find is:
> http://msdn.microsoft.com/library/backgrnd/html/msdn_mbcssg.htm
> 
> It makes the vague statement that DBCS is sometimes referred to as
> MBCS - Ive no idea what the story is :-)

Thanks for the pointer. It seems as if MBCS is really just
another name for DBCS (the whole document speaks about DBCS
and only mentions MBCS as an alias).

If this is true, then I don't know how the MBCS will actually
work, since DBCS is a class of encodings, not a single one.
Andy Robinson and friends on the i18n sig list are already
looking into writing codecs for the various encodings using
DBCS as basis.

Looks like you just made Python CJK-aware on Windows by virtue
of letting the Win32 API decide which the current encoding is ;-).

I think I'll post a note  on the i18n list to see if this does
indeed work.

-- 
Marc-Andre Lemburg
______________________________________________________________________
Business:                                      http://www.lemburg.com/
Python Pages:                           http://www.lemburg.com/python/