Kagamin <[email protected]> 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

Reply via email to