Broken Encoding after File Translation Upload #14711
Unanswered
SimbaStitch
asked this question in
Q&A
Replies: 3 comments 2 replies
-
I guess you are using CSV format. Choose a variant with UTF-8 instead of the one that does encoding autodetection. The autodetection is never fully accurate. |
Beta Was this translation helpful? Give feedback.
0 replies
-
Hello So we can’t use weblate memory because of this Is there some way how we can rid off those consequences? |
Beta Was this translation helpful? Give feedback.
2 replies
-
Please reopen this issue |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Describe the issue
Hello :)

Weblate version 5.10.4
Sometimes, some uploaded files with translations were read incorrectly.
In the majority of cases, we have correct translations uploaded.
Valid UTF-8 symbols were substituted for invalid ones. We faced this problem in different languages (like Czech, Slovak, French, Arabic (Egypt) and Russian (in attachment))
Looks like Weblate reads 4 bytes utf-8 symbols as 2-byte ones, at least in the hex editor (wich doesn't support 4 byte utf symbols) they look the same as in Weblate.
Example:
ui-suite-questionnaires-ru_RU.properties.txt
Could you please help with that? <3
I already tried
Steps to reproduce the behavior
Upload the translation file in *.properties format in UTF-8 encoding (non-English)
Expected behavior
we have correct translations uploaded
Screenshots
Exception traceback
How do you run Weblate?
No response
Weblate versions
5.10.4
Weblate deploy checks
Additional context
No response
Beta Was this translation helpful? Give feedback.
All reactions