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:
10.1
10.2
10.3
10.4
10.5
11.0
11.1
11.2
11.3
11.4
Statistic
FMM
Blog
Takes a text in a given encoding and reencodes it with other 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" |
InputEncoding | The text encoding for the input text. Possible encoding names: ANSI, ISO-8859-1, Latin1, Mac, Native, UTF-8, DOS, Hex, Base64 or Windows. More listed in the FAQ. |
"native" |
OutputEncoding | The text encoding for the resulting string. Possible encoding names: ANSI, ISO-8859-1, Latin1, Mac, Native, UTF-8, DOS, Hex, Base64 or Windows. More listed in the FAQ. |
"UTF-8" |
Returns text or error.
Fix umlaut in Mac encoded UTF-8 text:
MBS( "Text.RedefineEncoding" ; "Möbel"; "mac" ; "UTF8" )
Fix umlaut in Latin1 encoded UTF-8 text:
MBS( "Text.RedefineEncoding" ; "MÃ\¶bel"; "Latin1"; "UTF-8" )
# needs a backslash so FileMaker doesn't evaluate ¶ to be a new line.
Created 10th July 2015, last changed 12nd November 2015
Text.ReadTextFromContainer - Text.RemoveAccents
Feedback: Report problem or ask question.