bad unicode fingerprint custom localization error

Help and support regarding PR:BF2 installation and in-game issues
Post Reply
Tymkolt
Posts: 9
Joined: 2020-05-10 14:05

bad unicode fingerprint custom localization error

Post 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.
AlonTavor
PR:BF2 Developer
Posts: 2991
Joined: 2009-08-10 18:58

Re: bad unicode fingerprint custom localization error

Post by AlonTavor »

In notepad++:

Encoding -> Convert to UCS-2 little endian
Edit -> EOL conversion -> windows format
User avatar
Mats391
PR:BF2 Lead Developer
Posts: 7636
Joined: 2010-08-06 18:06

Re: bad unicode fingerprint custom localization error

Post by Mats391 »

There already is a ukrainian localization, maybe you should help them: https://github.com/realitymod/pr-locali ... /ukrainian
Image

Mineral: TIL that Wire-guided missiles actually use wire
Tymkolt
Posts: 9
Joined: 2020-05-10 14:05

Re: bad unicode fingerprint custom localization error

Post 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
Tymkolt
Posts: 9
Joined: 2020-05-10 14:05

Re: bad unicode fingerprint custom localization error

Post 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
Last edited by Tymkolt on 2021-10-11 19:12, edited 1 time in total.
Post Reply

Return to “PR:BF2 Support”