Alain Bench wrote:
> > GetOEMCP() or GetConsoleOutputCP() (I don't know the difference)
>
> I seem to understand GetOEMCP() gives fixed system default OEM CP,
> while GetConsoleOutputCP() gives current console OEM CP. After a user or
> app has done a "chcp 28591" on a French Windows, GetOEMCP()
Alain Bench wrote:
> BTW how is a Win32 console app supposed to use libcharset? I mean
> libcharset uses GetACP() only, getting graphic mode default charset
> (typically 1252), while console apps use a usually different text mode
> default charset (typically 850, given by GetConsoleOutputCP()).
e use the appended patch,
which I'll also use in libiconv-1.10.
Bruno
2005-07-02 Bruno Haible <[EMAIL PROTECTED]>
* localcharset.c (get_charset_aliases) [WIN32]: Add CP65001 and others.
Reported by <[EMAIL PROTECTED]> via Alain Bench <[EMAIL PROTECTED]>.
*** lib