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
Converts text by applying unicode character normalization.
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" |
Returns text or error.
Test function:
#some text
Set Variable [$text; Value:"ä ö ü"]
#now make decomposed
Set Variable [$decomposedText; Value:MBS("Text.ConvertUnicodeToCharacterDecomposition"; $text)]
#and composed again
Set Variable [$composedText; Value:MBS("Text.ConvertUnicodeToCharacterComposition"; $decomposedText)]
#Now show results. See the 776 for the Diaeresis?
Show Custom Dialog ["Result"; $text & " " & MBS("Text.Characters"; $text) & ¶ & $decomposedText & " " & MBS("Text.Characters…]
Test character composition with ä and Char function:
MBS("Text.Characters"; MBS( "Text.ConvertUnicodeToCharacterComposition"; Char(97) & Char(776) ))
Example result: 228
Created 3th August 2015, last changed 14th February 2020
Text.ConvertToTextEncoding - Text.ConvertUnicodeToCharacterDecomposition
Feedback: Report problem or ask question.