/
Technical documentation - Cleaning hidden characters from texts

Technical documentation - Cleaning hidden characters from texts

This article describes the function to clean hidden characters in texts from the text storage.

Version 5.1.6

This function is available in version 5.1.6 and later.

Overview

Once enabled an option to clean texts will appear in text storage. The menu option operates on selected texts and will remove the charactes defined in a configuration. If all texts are to be cleaned, chose to select all (ctrl-A) and then select Clean texts.

Turning function on

Funciton is turned on in the options dialogue.

Configuration

It is possible to define which characters are to be removed. The cleaning function runs all cleaning rules on each text entry in the priority order and several rules might thus be applied to each text. The configration exist in server.config. Sample configuration:

<CleaningTextsSetting> <Enabled>true</Enabled> <Entries> <Entry> <FromSubstring>$NewLine</FromSubstring> <Priority>3</Priority> </Entry> <Entry> <FromSubstring>$CarriageReturn</FromSubstring> <Priority>2</Priority> </Entry> <Entry> <FromSubstring>$Tab</FromSubstring> <Priority>1</Priority> </Entry> </Entries> </CleaningTextsSetting>

The configuration may handle a few different special characters:

  • $NewLine : New line

  • $CarriageReturn: CR

  • $Tab: Tab

  • $Backslash: backslash

Related articles

 

















Related content

Technical documentation - Removing duplicate texts
Technical documentation - Removing duplicate texts
More like this
Working with texts and languages
Working with texts and languages
More like this
Technical documentation - Robots.txt
Technical documentation - Robots.txt
More like this
Exporting texts for parts only, or other presentation type
Exporting texts for parts only, or other presentation type
More like this
Replace items with one other item
Replace items with one other item
More like this
How to configure filter regex to identify patterns
How to configure filter regex to identify patterns
More like this