Page 1 of 1

bad unicode fingerprint custom localization error

Posted: 2021-10-11 13:43
by Tymkolt
I am currently actively creating a Ukrainian localization for the Project Reality. I converted the English translation strings to .csv and uploaded them to Crowdin, where I almost completely translated the files. After that, I converted the file back to .utxt format, but during testing, immediately after starting the game from the launcher, I got this error.
As far as I understand, there are some invisible unsupported characters in the translation file, due to which the game cannot be started. But I can't understand what these characters are.

Here is one of the files with my localization:
https://drive.google.com/drive/folders/ ... sp=sharing

check_localization.exe has indicated the following problems, but I don't know how to fix them:
- Not UTF-16LE / UCS-2 - (Detected: ASCII).
- Contains \n characters instead of \r\n, check line endings are Windows:
...

Help me fix it, please.

Re: bad unicode fingerprint custom localization error

Posted: 2021-10-11 14:50
by AlonTavor
In notepad++:

Encoding -> Convert to UCS-2 little endian
Edit -> EOL conversion -> windows format

Re: bad unicode fingerprint custom localization error

Posted: 2021-10-11 15:03
by Mats391
There already is a ukrainian localization, maybe you should help them: https://github.com/realitymod/pr-locali ... /ukrainian

Re: bad unicode fingerprint custom localization error

Posted: 2021-10-11 18:40
by Tymkolt
Mats391 wrote:There already is a ukrainian localization, maybe you should help them: https://github.com/realitymod/pr-locali ... /ukrainian
Thank you, this is exactly the localization that I once added, but never finished. I am now improving and refining it

Re: bad unicode fingerprint custom localization error

Posted: 2021-10-11 18:41
by Tymkolt
AlonTavor wrote:In notepad++:

Encoding -> Convert to UCS-2 little endian
Edit -> EOL conversion -> windows format
Thanks! Now everything works fine, I checked