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
bd10348e
Commit
bd10348e
authored
Aug 08, 2005
by
Phil Krylov
Committed by
Alexandre Julliard
Aug 08, 2005
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed UTF-8 RTF parsing.
parent
7bb3b2d3
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
2 deletions
+5
-2
reader.c
dlls/riched20/reader.c
+5
-2
No files found.
dlls/riched20/reader.c
View file @
bd10348e
...
...
@@ -2556,6 +2556,9 @@ CharAttr(RTF_Info *info)
static
void
CharSet
(
RTF_Info
*
info
)
{
if
(
info
->
ansiCodePage
==
CP_UTF8
)
return
;
switch
(
info
->
rtfMinor
)
{
case
rtfAnsiCharSet
:
...
...
@@ -2594,10 +2597,10 @@ DocAttr(RTF_Info *info)
switch
(
info
->
rtfMinor
)
{
case
rtfAnsiCodePage
:
info
->
ansiCodePage
=
info
->
rtfParam
;
info
->
codePage
=
info
->
ansiCodePage
=
info
->
rtfParam
;
break
;
case
rtfUTF8RTF
:
info
->
ansiCodePage
=
CP_UTF8
;
info
->
codePage
=
info
->
ansiCodePage
=
CP_UTF8
;
break
;
}
}
...
...
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