fl_polyglot incorrectly handles special characters
Issue: ✓ fl_polyglot incorrectly handles special characters
ID: 2340
Assignee: rhet0rica
Reported by: Sibko.Matova
Date: 2019-04-26 18:38:09
Reported in: 8.5b5
Target version for fix: 8.5rc1
Resolved in: 8.5rc1
Priority: Moderate
Product/Component: Companion - cortex (Cortex)
When translating languages with special characters such as "ö, Ä, é", a character code string (I assume) is returned/output instead.

For example:
English input: The Mice have nice Houses.
German output: Die Mu00e4use haben schu00f6ne Hu00e4user.
Expected output: Die Mäuse haben schön Häuser.

This problem has been seen with German and Swedish special characters, and likely applies to all special characters.

A possible solution is to fallback to a corresponding character that lacks the accent, e.g. instead of 'ö', fallback to using 'o'. It may not be as correct, but it is more readable.


4 years ago rhet0rica:
llGetJsonValue() smashes unrecognized escapes. Fixed with some elbow grease. Hopefully.