-
Notifications
You must be signed in to change notification settings - Fork 98
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
dsl dictionary description parse issue on Windows #1974
Comments
Not reproducable on my machine (Linux) 😅 |
restrict it to Windows |
dsl use QTextStream read the description from .ann file. QTextStream will use system's default codec. example(generate with AI)
readAll can be replaced with readline |
The default behavior of
|
The file is UTF16 without BOM, we cannot reliably detect the byteorder. On my Linux system, the encoding of the The file is wrong. This is not fixable. |
I sent a short message to the dict author. I don't think we can do something here. The original code works accidentally in the original GD because QTextStream in Qt4/5 don't try to detect Utf8. |
I think maybe we can . goldendict-ng/src/dict/dsl_details.cc Lines 875 to 898 in 5b70a7e
|
JMDict Furigana, JMDict+: https://jd4gd.com/jmdictplus.html
Originally posted by @darlopvil in #1875 (comment)
The description seems have some encoding issue.
The text was updated successfully, but these errors were encountered: