Convert UTF-8 String to ASCII
Overview
Mendix encodes strings in UTF-8.
This small JAVA action converts common German letters (Umlaute und ß) to be ASCII readable and deletes all other non-ASCII characters.
Documentation
FOR PLATFORM-SUPPORTED CONTENT
Â
Please see in the Mendix documentation for details.
Â
FOR COMMUNITY-SUPPORTED CONTENT
Â
Description
Mendix encodes strings in UTF-8.Â
This small JAVA action converts common German letters (Umlaute und ß) to be ASCII readable and deletes all other non-ASCII characters.
Typical usage scenario
Outlook mail Server decodes the file names of the attachments in ASCII. This leads to strange names if umlauts or "ß" are used. With the help of this JAVA action, the file name can be adapted very easily to make the file names of the attachments more readable.Â
Features and limitations
All umlauts and "ß" are adjusted as follows:
ä = ae
ö= oe
ß = ss etc.Â
The limit is exactly that, if it is not an umlaut or an "ß" but not an ASCII character, the character is deleted.Â