How to preserve special characters in a JSON file and not convert them to ascii?

i have a JSON file that when saving to target converts the special characters.  Editor shows them as text but when saving converts to ascii.

Exampe:

Editor: Il semble que vous ayez besoin d'aide pour résoudre des problèmes concernant certains de vos appareils.

Exproted:  Il semble que vous ayez besoin d'aide pour résoudre des problèmes concernant certains de vos appareils. Choisissez l'unité avec laquelle vous rencontrez des problèmes dans la liste ci-dessous : 

What setting in TRADOS will retain the character and not convert?

Parents
  • These are not ascii, they look like html entities. There are no settings in the JSON filetype to manage entities.  If they are a problem you could correct this easily with a decent text editor.  For example, I use EditPadPro and can convert your example above to this in a couple of clicks:

    Il semble que vous ayez besoin d'aide pour résoudre des problèmes concernant certains de vos appareils. Choisissez l'unité avec laquelle vous rencontrez des problèmes dans la liste ci-dessous : 

    This option:

    Screenshot of EditPadPro software showing a dropdown menu with text encoding options and a list of character conversions, including HTML entities to characters.

    But it's worth checking first whether this is even a problem.  It might not be and it could be what's expected, or even easily handled, in the system receiving the translated json.

    Paul Filkin | RWS Group

    ________________________
    Design your own training!

    You've done the courses and still need to go a little further, or still not clear? 
    Tell us what you need in our Community Solutions Hub

    emoji


    Generated Image Alt-Text
    [edited by: Trados AI at 6:25 AM (GMT 0) on 29 Feb 2024]
Reply
  • These are not ascii, they look like html entities. There are no settings in the JSON filetype to manage entities.  If they are a problem you could correct this easily with a decent text editor.  For example, I use EditPadPro and can convert your example above to this in a couple of clicks:

    Il semble que vous ayez besoin d'aide pour résoudre des problèmes concernant certains de vos appareils. Choisissez l'unité avec laquelle vous rencontrez des problèmes dans la liste ci-dessous : 

    This option:

    Screenshot of EditPadPro software showing a dropdown menu with text encoding options and a list of character conversions, including HTML entities to characters.

    But it's worth checking first whether this is even a problem.  It might not be and it could be what's expected, or even easily handled, in the system receiving the translated json.

    Paul Filkin | RWS Group

    ________________________
    Design your own training!

    You've done the courses and still need to go a little further, or still not clear? 
    Tell us what you need in our Community Solutions Hub

    emoji


    Generated Image Alt-Text
    [edited by: Trados AI at 6:25 AM (GMT 0) on 29 Feb 2024]
Children
No Data