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:
9.3
9.4
9.5
10.0
10.1
10.2
10.3
10.4
10.5
10.6
Statistic
FMM
Blog
Text.InvalidCharactersForEncoding
Checks the text to return all characters which are not preserved when converting text to given text encoding.
| Component | Version | macOS | Windows | Linux | Server | FileMaker iOS SDK |
| Text | 5.2 | Yes | Yes | Yes | Yes | Yes |
Parameters
| 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" |
Result
Returns text or error.
Description
Checks the text to return all characters which are not preserved when converting text to given text encoding.Returns an empty text if all characters are supported in given encoding. The returned text should have no duplicates, so each character shows only once in the order of first appearance.
Some characters may not be directly supported, but still convert to similar looking characters.
Examples
Check if checkmark is allowed in Latin1:
MBS("Text.InvalidCharactersForEncoding"; "Hello ✔ äöü"; "Latin1" )
Example result: ✔
Checks for characters:
MBS("Text.InvalidCharactersForEncoding"; "μέρος"; "Latin1" )
Example result: μέρος
Blog Entries
Created 14th June 2015, last changed 11st December 2016
Text.FindBetween - Text.JaroWinklerDistance
Feedback: Report problem or ask question.
Links
MBS FileMaker Plugins