Creatxr wrote:
But I don't know the data structure of code page.
Perhaps NLS_FILE_HEADER structure http://svn.reactos.org/svn/reactos/trunk/reactos/include/ndk/rtltypes.h?revision=41418&view=markup#l_1246 is what you're looking for. See also http://svn.reactos.org/svn/reactos/trunk/reactos/lib/rtl/nls.c?view=markup and http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/kernel32/misc/nls.c?view=markup.