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
58913b43
Commit
58913b43
authored
Feb 15, 2008
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
kernel32: On Mac OS, recompose the Unicode strings we get from the OS.
parent
86ff825f
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
0 deletions
+6
-0
locale.c
dlls/kernel32/locale.c
+3
-0
rtlstr.c
dlls/ntdll/rtlstr.c
+3
-0
No files found.
dlls/kernel32/locale.c
View file @
58913b43
...
...
@@ -1830,6 +1830,9 @@ INT WINAPI MultiByteToWideChar( UINT page, DWORD flags, LPCSTR src, INT srclen,
ret
=
wine_cp_mbstowcs
(
unix_cptable
,
flags
,
src
,
srclen
,
dst
,
dstlen
);
break
;
}
#ifdef __APPLE__
flags
|=
MB_COMPOSITE
;
/* work around broken Mac OS X filesystem that enforces decomposed Unicode */
#endif
/* fall through */
case
CP_UTF8
:
ret
=
wine_utf8_mbstowcs
(
flags
,
src
,
srclen
,
dst
,
dstlen
);
...
...
dlls/ntdll/rtlstr.c
View file @
58913b43
...
...
@@ -65,6 +65,9 @@ void __wine_init_codepages( const union cptable *ansi, const union cptable *oem,
int
ntdll_umbstowcs
(
DWORD
flags
,
const
char
*
src
,
int
srclen
,
WCHAR
*
dst
,
int
dstlen
)
{
#ifdef __APPLE__
flags
|=
MB_COMPOSITE
;
/* work around broken Mac OS X filesystem that enforces decomposed Unicode */
#endif
return
(
unix_table
)
?
wine_cp_mbstowcs
(
unix_table
,
flags
,
src
,
srclen
,
dst
,
dstlen
)
:
wine_utf8_mbstowcs
(
flags
,
src
,
srclen
,
dst
,
dstlen
);
...
...
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