convert to ASCII()

This function converts a Unicode text a into an ASCII text by removing non-ASCII characters or by replacing them with ASCII characters. The conversion can use different conversion modes b.

Parameters


Parameter

Description

a

The text to be converted.

b

(optional) Conversion mode (see following table). Default: convert. Note: Use the three dots to select a value.

c

(optional) Limit (decimal Unicode value) from which a conversion should take place. Default: 128.


Conversion mode b

Effect

convert

If known, a non-ASCII character will be replaced by its ASCII base character (e.g. ä→a and ö→o) . If no base character is known, the character will be removed.

remove

Non-ASCII-characters are removed.

Examples


Parameter a

Parameter b

Parameter c

Result

Schönstraße costs 1 Million €



Schonstrasse costs 1 Million

Schönstraße costs 1 Million €

convert


Schonstrasse costs 1 Million

Schönstraße costs 1 Million €

convert

128

Schonstrasse costs 1 Million

Schönstraße costs 1 Million €

convert

256

Schönstraße costs 1 Million

Schönstraße costs 1 Million €

convert

65536

Schönstraße costs 1 Million €

Schönstraße costs 1 Million €

remove

128

Schnstrae costs 1 Million