Topics
All
MacOS
(Only)
Windows
(Only)
Linux
(Only, Not)
iOS
(Only, Not)
Components
Crossplatform Mac & Win
Server
Client
Old
Deprecated
Guides
Examples
Videos
New in version:
12.1
12.2
12.3
12.4
12.5
13.0
13.1
13.2
13.3
13.4
Statistic
FMM
Blog
Looks for invalid characters for an encoding.
Component | Version | macOS | Windows | Linux | Server | iOS SDK |
Text | 5.2 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes |
Parameter | Description | Example |
---|---|---|
text | The text to process. | "Hello World" |
Encoding | The text encoding for the resulting string. Default is native. Possible encoding names: ANSI, ISO-8859-1, Latin1, Mac, Native, UTF-8, DOS, Hex, Base64 or Windows. More listed in the FAQ. |
"Latin1" |
Returns text or error.
Check if checkmark is allowed in Latin1:
MBS("Text.InvalidCharactersForEncoding"; "Hello ✔ äöü"; "Latin1" )
Example result: ✔
Checks for characters:
MBS("Text.InvalidCharactersForEncoding"; "μέρος"; "Latin1" )
Example result: μέρος
Checks emojis:
MBS( "Text.InvalidCharactersForEncoding"; "Test 🍎 🍓 🍒"; "ISO-8859-1" )
Example result: 🍎🍓🍒
This function checks for a license.
Created 14th June 2015, last changed 31st January 2023