40 {932, {0x40, 0x7e, 0x80, 0xfc, 0, 0}},
41 {936, {0x40, 0xfe, 0, 0}},
42 {949, {0x41, 0xfe, 0, 0}},
43 {950, {0x40, 0x7e, 0xa1, 0xfe, 0, 0}},
44 {1361, {0x31, 0x7e, 0x81, 0xfe, 0, 0}},
45 {20932, {1, 255, 0, 0}},
54 const char format[] =
".%d";
99 WARN(
"Can't assign LCID to codepage (%d)\n", mbcinfo->
mblcid);
105 WARN(
"Codepage %d not found\n", newcp);
130 if (cpextra->
cp == 0 || cpextra->
cp == newcp)
132 if (cpextra->
cp == 0)
133 FIXME(
"trail bytes data not available for DBCS codepage %d - assuming all bytes\n", newcp);
153 for (
i = 0;
i < 256;
i++)
155 bufA[charcount++] =
i;
158 if (
ret != charcount)
159 ERR(
"MultiByteToWideChar of chars failed for cp %d, ret=%d (exp %d), error=%d\n", newcp,
ret, charcount,
GetLastError());
164 for (
i = 0;
i < 256;
i++)
167 if (chartypes[charcount] &
C1_UPPER)
170 bufW[charcount] =
tolowerW(bufW[charcount]);
172 else if (chartypes[charcount] &
C1_LOWER)
175 bufW[charcount] =
toupperW(bufW[charcount]);
181 if (
ret != charcount)
182 ERR(
"WideCharToMultiByte failed for cp %d, ret=%d (exp %d), error=%d\n", newcp,
ret, charcount,
GetLastError());
185 for (
i = 0;
i < 256;
i++)
202 for (
i = 161;
i <= 165;
i++)
204 for (
i = 166;
i <= 223;
i++)
static struct cp_extra_info_t g_cpextrainfo[]
int _setmbcp_l(int cp, LCID lcid, MSVCRT_pthreadmbcinfo mbcinfo)
int CDECL _setmbcp(int cp)
static unsigned char bytes[4]
#define WideCharToMultiByte
#define MultiByteToWideChar
BOOL WINAPI GetCPInfo(UINT codepage, LPCPINFO cpinfo)
BOOL WINAPI GetStringTypeW(DWORD type, LPCWSTR src, INT count, LPWORD chartype)
UINT WINAPI GetOEMCP(void)
GLsizei GLenum const GLvoid GLsizei GLenum GLbyte GLbyte GLbyte GLdouble GLdouble GLdouble GLfloat GLfloat GLfloat GLint GLint GLint GLshort GLshort GLshort GLubyte GLubyte GLubyte GLuint GLuint GLuint GLushort GLushort GLushort GLbyte GLbyte GLbyte GLbyte GLdouble GLdouble GLdouble GLdouble GLfloat GLfloat GLfloat GLfloat GLint GLint GLint GLint GLshort GLshort GLshort GLshort GLubyte GLubyte GLubyte GLubyte GLuint GLuint GLuint GLuint GLushort GLushort GLushort GLushort GLboolean const GLdouble const GLfloat const GLint const GLshort const GLbyte const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLdouble const GLfloat const GLfloat const GLint const GLint const GLshort const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort GLenum GLenum GLenum GLfloat GLenum GLint GLenum GLenum GLenum GLfloat GLenum GLenum GLint GLenum GLfloat GLenum GLint GLint GLushort GLenum GLenum GLfloat GLenum GLenum GLint GLfloat const GLubyte GLenum GLenum GLenum const GLfloat GLenum GLenum const GLint GLenum GLint GLint GLsizei GLsizei GLint GLenum GLenum const GLvoid GLenum GLenum const GLfloat GLenum GLenum const GLint GLenum GLenum const GLdouble GLenum GLenum const GLfloat GLenum GLenum const GLint GLsizei GLuint GLfloat GLuint GLbitfield GLfloat GLint GLuint GLboolean GLenum GLfloat GLenum GLbitfield GLenum GLfloat GLfloat GLint GLint const GLfloat GLenum GLfloat GLfloat GLint GLint GLfloat GLfloat GLint GLint const GLfloat GLint GLfloat GLfloat GLint GLfloat GLfloat GLint GLfloat GLfloat const GLdouble const GLfloat const GLdouble const GLfloat GLint i
MSVCRT__locale_t global_locale
#define memcpy(s1, s2, n)
#define sprintf(buf, format,...)
LCID MSVCRT_locale_to_LCID(const char *)
MSVCRT_pthreadmbcinfo get_mbcinfo(void)
_CRTIMP int *__cdecl _errno(void)
unsigned char mbcasemap[256]
unsigned char mbctype[257]
BYTE LeadByte[MAX_LEADBYTES]
DWORD WINAPI GetLastError(void)