Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
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-cw
Commits
5a0321ac
Commit
5a0321ac
authored
Dec 06, 2023
by
Bernhard Übelacker
Committed by
Alexandre Julliard
Dec 06, 2023
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mlang: Allow encoding name "ISO8859-1".
This fixes eFilmLt.exe when running with native msxml6. Wine-Bug:
https://bugs.winehq.org/show_bug.cgi?id=13340
parent
23111d62
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
12 deletions
+9
-12
mlang.c
dlls/mlang/mlang.c
+1
-1
mlang.c
dlls/mlang/tests/mlang.c
+8
-11
No files found.
dlls/mlang/mlang.c
View file @
5a0321ac
...
...
@@ -447,7 +447,7 @@ static const MIME_CP_INFO western_cp[] =
MIMECONTF_SAVABLE_MAILNEWS
|
MIMECONTF_SAVABLE_BROWSER
|
MIMECONTF_EXPORT
|
MIMECONTF_VALID
|
MIMECONTF_VALID_NLS
|
MIMECONTF_MIME_LATEST
,
L"iso-8859-1"
,
L"iso-8859-1"
,
L"iso-8859-1"
},
L"iso-8859-1"
,
L"iso-8859-1"
,
L"iso-8859-1"
,
L"iso8859-1"
},
{
L"Latin 9 (ISO)"
,
28605
,
MIMECONTF_MAILNEWS
|
MIMECONTF_IMPORT
|
MIMECONTF_SAVABLE_MAILNEWS
|
MIMECONTF_SAVABLE_BROWSER
|
...
...
dlls/mlang/tests/mlang.c
View file @
5a0321ac
...
...
@@ -1021,19 +1021,18 @@ static void test_GetCharsetInfo_other(IMultiLanguage *ml)
WCHAR
iso88591_6W
[]
=
{
'-'
,
'I'
,
'S'
,
'O'
,
'8'
,
'8'
,
'5'
,
'9'
,
'1'
,
0
};
WCHAR
iso88591_7W
[]
=
{
' '
,
'I'
,
'S'
,
'O'
,
'-'
,
'8'
,
'8'
,
'5'
,
'9'
,
'-'
,
'1'
,
0
};
struct
other
{
int
todo
;
HRESULT
hr
;
WCHAR
*
charset
;
WCHAR
*
ret_charset
;
}
other
[]
=
{
{
0
,
S_OK
,
asciiW
,
asciiW
},
{
0
,
S_OK
,
iso88591_1W
,
iso88591_1retW
},
{
1
,
S_OK
,
iso88591_2W
,
iso88591_2retW
},
{
0
,
E_FAIL
,
iso88591_3W
,
0
},
{
0
,
E_FAIL
,
iso88591_4W
,
0
},
{
0
,
E_FAIL
,
iso88591_5W
,
0
},
{
0
,
E_FAIL
,
iso88591_6W
,
0
},
{
0
,
E_FAIL
,
iso88591_7W
,
0
},
{
S_OK
,
asciiW
,
asciiW
},
{
S_OK
,
iso88591_1W
,
iso88591_1retW
},
{
S_OK
,
iso88591_2W
,
iso88591_2retW
},
{
E_FAIL
,
iso88591_3W
,
0
},
{
E_FAIL
,
iso88591_4W
,
0
},
{
E_FAIL
,
iso88591_5W
,
0
},
{
E_FAIL
,
iso88591_6W
,
0
},
{
E_FAIL
,
iso88591_7W
,
0
},
};
MIMECSETINFO
info
;
HRESULT
hr
;
...
...
@@ -1043,11 +1042,9 @@ static void test_GetCharsetInfo_other(IMultiLanguage *ml)
{
hr
=
IMultiLanguage_GetCharsetInfo
(
ml
,
other
[
i
].
charset
,
&
info
);
todo_wine_if
(
other
[
i
].
todo
)
ok
(
hr
==
other
[
i
].
hr
,
"#%d: got %08lx, expected %08lx
\n
"
,
i
,
hr
,
other
[
i
].
hr
);
if
(
hr
==
S_OK
)
todo_wine_if
(
other
[
i
].
todo
)
ok
(
!
lstrcmpW
(
info
.
wszCharset
,
other
[
i
].
ret_charset
),
"#%d: got %s, expected %s
\n
"
,
i
,
wine_dbgstr_w
(
info
.
wszCharset
),
wine_dbgstr_w
(
other
[
i
].
ret_charset
));
}
...
...
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