Re: Code Page problem in SetWindowText
- From: "Giovanni Dicanio" <giovanni.dicanio@xxxxxxxxxx>
- Date: Fri, 7 Sep 2007 00:04:10 +0200
"Tom Serface" <tom.nospam@xxxxxxxxxxxxx> ha scritto nel messaggio
news:Oxv$i6J8HHA.4584@xxxxxxxxxxxxxxxxxxxxxxx
but it's difficult to quantify the difference and I suspect it is
negligible so Unicode seems a better way to go in my opinion.
Hi Tom,
I agree with you.
And maybe if memory space saving is the main target, UTF-8 could be used as
the encoding for Unicode, instead of UTF-16.
But maybe for historical reasons, it seems that internal Windows format for
Unicode is UTF-16 :(
On the other side, IIRC Mac OS X and Linux tend to use UTF-8, but I may be
in mistake...
If you really need to minimize memory space (like you're trying to run an
MFC application on your watch or something) then perhaps, but ...
IIRC, Windows CE (which should be suited to embedded platforms and platforms
with memory limits, not like the "huge" 1-2 GB of RAMs in current desktop
PCs) uses Unicode (UTF-16) and not ANSI :)
Giovanni
.
- Follow-Ups:
- Re: Code Page problem in SetWindowText
- From: Mihai N.
- Re: Code Page problem in SetWindowText
- From: Joseph M . Newcomer
- Re: Code Page problem in SetWindowText
- References:
- Code Page problem in SetWindowText
- From: Marco Hung
- Re: Code Page problem in SetWindowText
- From: Mihai N.
- Re: Code Page problem in SetWindowText
- From: Tom Serface
- Re: Code Page problem in SetWindowText
- From: David Ching
- Re: Code Page problem in SetWindowText
- From: Tom Serface
- Re: Code Page problem in SetWindowText
- From: Giovanni Dicanio
- Re: Code Page problem in SetWindowText
- From: Joseph M . Newcomer
- Re: Code Page problem in SetWindowText
- From: Tom Serface
- Code Page problem in SetWindowText
- Prev by Date: MFC Copy progress
- Next by Date: Re: CFileDialog not displaying virtual folders in linux
- Previous by thread: Re: Code Page problem in SetWindowText
- Next by thread: Re: Code Page problem in SetWindowText
- Index(es):
Relevant Pages
|