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
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 with ä:
MBS("Text.Characters"; MBS( "Text.ConvertUnicodeToCharacterComposition"; Char(97) & Char(776) ))
Example result: 228
Test with ä as 228:
MBS("Text.Characters"; MBS( "Text.ConvertUnicodeToCharacterDecomposition"; Char(228) ))
Example result: 97 776
Test functions:
Let([
i = "tränenüberströmt";
r = MBS( "Text.ConvertUnicodeToCharacterDeComposition"; i);
t = MBS( "Text.Characters"; r);
x = MBS( "Text.ConvertUnicodeToCharacterComposition"; r);
tr= MBS( "Text.Characters"; x)
];
r & ¶ & t &¶& x & ¶ &
"before " & MBS("Text.Length"; i) & ", middle " & MBS("Text.Length"; r) & ", after " & MBS("Text.Length"; x) & ¶ & tr)
Example result:
tränenüberströmt
116 114 97 776 110 101 110 117 776 98 101 114 115 116 114 111 776 109 116
tränenüberströmt
before 16, middle 19, after 16
116 114 228 110 101 110 252 98 101 114 115 116 114 246 109 116
Mount with properly encoding french accent:
Set Variable [ $path; Value: MBS( "Files.Mount"; "afp://stockage.madabout.lu/" & MBS( "Text.EncodeURLComponent"; MBS( "Text.ConvertUnicodeToCharacterDecomposition"; "Travail archivé" )); "UTF-8" )) ]
# URL is "afp://test.myserver.local/Travail%20archiv%8E"
This function checks for a license.
Created 3th August 2015, last changed 4th March 2022