Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
be089ba2
Commit
be089ba2
authored
Oct 24, 2014
by
Hao Peng
Committed by
Alexandre Julliard
Oct 24, 2014
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mlang: Add gbk to Chinese Simplified codepage.
parent
2f38271f
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
5 deletions
+11
-5
mlang.c
dlls/mlang/mlang.c
+11
-5
No files found.
dlls/mlang/mlang.c
View file @
be089ba2
...
...
@@ -122,7 +122,13 @@ static const MIME_CP_INFO chinese_simplified_cp[] =
MIMECONTF_IMPORT
|
MIMECONTF_SAVABLE_MAILNEWS
|
MIMECONTF_SAVABLE_BROWSER
|
MIMECONTF_EXPORT
|
MIMECONTF_VALID_NLS
|
MIMECONTF_MIME_IE4
|
MIMECONTF_MIME_LATEST
,
"gb2312"
,
"gb2312"
,
"gb2312"
}
"gb2312"
,
"gb2312"
,
"gb2312"
},
{
"Chinese Simplified (GBK)"
,
936
,
MIMECONTF_MAILNEWS
|
MIMECONTF_BROWSER
|
MIMECONTF_MINIMAL
|
MIMECONTF_IMPORT
|
MIMECONTF_SAVABLE_MAILNEWS
|
MIMECONTF_SAVABLE_BROWSER
|
MIMECONTF_EXPORT
|
MIMECONTF_VALID_NLS
|
MIMECONTF_MIME_IE4
|
MIMECONTF_MIME_LATEST
,
"gbk"
,
"gbk"
,
"gbk"
}
};
static
const
MIME_CP_INFO
chinese_traditional_cp
[]
=
{
...
...
@@ -953,7 +959,7 @@ HRESULT WINAPI ConvertINetMultiByteToUnicode(
*
pcDstSize
=
MultiByteToWideChar
(
dwEncoding
,
0
,
pSrcStr
,
*
pcSrcSize
,
NULL
,
0
);
break
;
}
if
(
!*
pcDstSize
)
return
E_FAIL
;
...
...
@@ -1344,7 +1350,7 @@ static HRESULT WINAPI MLANGCF_CreateInstance(IClassFactory *iface, IUnknown *pOu
IClassFactoryImpl
*
This
=
impl_from_IClassFactory
(
iface
);
HRESULT
hres
;
LPUNKNOWN
punk
;
TRACE
(
"(%p)->(%p,%s,%p)
\n
"
,
This
,
pOuter
,
debugstr_guid
(
riid
),
ppobj
);
*
ppobj
=
NULL
;
...
...
@@ -2263,7 +2269,7 @@ static BOOL CALLBACK enum_locales_proc(LPWSTR locale)
info
->
wszLocaleName
[
0
]
=
0
;
GetLocaleInfoW
(
info
->
lcid
,
LOCALE_SLANGUAGE
,
info
->
wszLocaleName
,
MAX_LOCALE_NAME
);
TRACE
(
"ISO639: %s SLANGUAGE: %s
\n
"
,
wine_dbgstr_w
(
info
->
wszRfc1766
),
wine_dbgstr_w
(
info
->
wszLocaleName
));
data
->
total
++
;
return
TRUE
;
...
...
@@ -2869,7 +2875,7 @@ static HRESULT WINAPI fnIMultiLanguage3_ConvertStringToUnicodeEx(
*
* PARAMS
* see ConvertStringToUnicode
* dwFlag
* dwFlag
* lpFallBack if dwFlag contains MLCONVCHARF_USEDEFCHAR, lpFallBack string used
* instead unconvertible characters.
*
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment