HTML 5 embedded content processor: how to force HTML entity output

I've created a custom YAML file type that processes some strings with HTML content with the HTML 5 embedded content processor.
I'd like to force Studio to output accented characters such ä as ä for a legacy app that requires them.
However, the HTML5 > Entities options seem to control only the entity conversion upon reading files.
Is it possible to force Studio to output HTML entities when generating target files or will I need to write a post-processing script that converts all non-ASCII characters to HTML entities?

emoji
Parents Reply
  •  

    Yesterday I have had exactly the opposite task. I needed Polish diacritics written as such and not as entities. Unfortunately, this will most probably not help you, as I used the Multilingual XML file type. There you'll find separate settings for read & write:

    Trados Studio options window showing Multilingual XML file type settings with entities mapping for characters like AE ligature, A acute, A grave, and A ring with their Unicode values and checkboxes for 'Read as character' and 'Write as entity'.

    Maybe you could use this file type for your files.

    _________________________________________________________

    When asking for help here, please be as accurate as possible. Please always remember to give the exact version of product used and all possible error messages received. The better you describe your problem, the better help you will get.

    Want to learn more about Trados Studio? Visit the Community Hub. Have a good idea to make Trados Studio better? Publish it here.

    emoji


    Generated Image Alt-Text
    [edited by: Trados AI at 9:38 AM (GMT 0) on 29 Feb 2024]
Children