Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

When reading (chinese) .msg files, HTML converted from RTF is completely garbled (encoding issue) #161

Closed
bbottema opened this issue Aug 20, 2018 · 3 comments
Assignees
Milestone

Comments

@bbottema
Copy link
Owner

bbottema commented Aug 20, 2018

The problem is that the RTF's included codepage is ignored and all the hex bytes for text are converted one at the time. However, codepage 936 (chinese charset) requires two bytes per character (double byte character set, DBCS). Moreover, any code page defined in the RTF header should be honored when parsing user text.

@bbottema
Copy link
Owner Author

Solved by bbottema/outlook-message-parser#3.

@bbottema
Copy link
Owner Author

Released in 6.0.0-rc1.

@bbottema
Copy link
Owner Author

6.0.0 has released as well, finally.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant