TDPL: Foreach over Unicode string
Shin Fujishiro
rsinfu at gmail.com
Thu Jul 29 23:31:43 PDT 2010
Kagamin <spam at here.lot> wrote:
> Shin Fujishiro Wrote:
>
> > http://www.dsource.org/projects/phobos/browser/branches/devel/stdio-native-codeset/
>
> I don't quite get, what is the difference between GetConsoleCP and CP_OEMCP for japanese and korean windows.
User might change console code page by the chcp command. Or it might
be changed by programmer. CP_OEMCP does not track such situation.
By the way, which CP should be used for redirected stdio: ANSI or OEM?
I thought ANSI was preferred, but OEM seems to be more commonly used
for console apps.
Shin
More information about the Digitalmars-d
mailing list