[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: question about Unicode
- From: "David Burgess" <dburgess@...>
- Date: Tue, 5 Dec 2006 08:55:11 +1100
Mike Pall wrote:
The recipe for portability is to ignore the locale and do
everything in UTF-8 internally (e.g. for string handling). Only
convert at the boundaries to/from the 'widest' API available
(e.g. for file I/O or GUIs).
I have used this scheme and it works well for file names. I
used MultiByteToWideChar() just prior to file name usage.
The only place it presents some overhead is in directory iterators.