Project Reality Forums

Project Reality Forums (https://www.realitymod.com/forum/index.php)
-   PR:BF2 Support (https://www.realitymod.com/forum/forumdisplay.php?f=27)
-   -   Win 10 bad unicode fingerprint custom localization error (https://www.realitymod.com/forum/showthread.php?t=151418)

Tymkolt 2021-10-11 13:43

bad unicode fingerprint custom localization error
 
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/folde...OG?usp=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.

AlonTavor 2021-10-11 14:50

Re: bad unicode fingerprint custom localization error
 
In notepad++:

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

Mats391 2021-10-11 15:03

Re: bad unicode fingerprint custom localization error
 
There already is a ukrainian localization, maybe you should help them: https://github.com/realitymod/pr-loc...ster/ukrainian

Tymkolt 2021-10-11 18:40

Re: bad unicode fingerprint custom localization error
 
Quote:

Originally Posted by Mats391 (Post 2213483)
There already is a ukrainian localization, maybe you should help them: https://github.com/realitymod/pr-loc...ster/ukrainian

Thank you, this is exactly the localization that I once added, but never finished. I am now improving and refining it

Tymkolt 2021-10-11 18:41

Re: bad unicode fingerprint custom localization error
 
Quote:

Originally Posted by AlonTavor (Post 2213481)
In notepad++:

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

Thanks! Now everything works fine, I checked


All times are GMT. The time now is 05:48.

Powered by: vBulletin. ©vBulletin Solutions, Inc.
All Content Copyright ©2004 - 2022, Project Reality