CurseForge

3324 - Non-breaking spaces converted to spaces by localization tool

When entering a non-breaking space (A0) into a translation in the CurseForge localization tool, it's converted into a regular space (20).

REPRO STEPS
1. For any phrase and any language, type some words and somewhere in there, use Alt+0160 to insert a non-breaking space.
2. Export that translation.
3. In a binary/hex editor, inspect the word you changed.

RESULT
The non-breaking space (A0) has been converted into a regular space (20).

EXPECT
The character should stay as I typed it.

WORKAROUND
Insert the non-breaking space using a text editor on your own machine and then manually import your changes using the localization tool's Import tab.  This preserves the correct formatting.

NOTES
* Non-breaking spaces are useful for French, which uses a space on the left and right of a colon, like this:  "Equip : Do something."  The left space should be a non-breaking space to prevent the situation where Equip and the colon end up on different lines.
* This breaks functionality for add-ons that depend on perfectly accurate translations of text to function properly, such as Pawn.
* I reproduced this today using Firefox 18 on Windows 8 x64.

User When Change
Torhal Jul 24, 2013 at 21:52 UTC
VgerAN Jan 14, 2013 at 03:00 UTC Create

You must login to post a comment. Don't have an account? Register to get one!

Facts

Last updated
Jul 24, 2013
Reported
Jan 14, 2013
Status
Declined - We decided not to take action on this ticket.
Type
Defect - A shortcoming, fault, or imperfection
Priority
Medium - Normal priority.
Votes
0

Reported by

Possible assignees