Topics   All   Mac OS X (Only)   Windows (Only)   Linux (Only, Not)   iOS (Only, Not)  
Components   Crossplatform Mac & Win   Server   Client   Old   Guides   Examples
New in version: 7.2   7.3   7.4   7.5   8.0   8.1   8.2   8.3   8.4   8.5    Statistic  

Text.ConvertUnicodeToCharacterComposition

Converts text by applying unicode character normalization.

Component Version macOS Windows Server FileMaker Cloud FileMaker iOS SDK
Text 5.2 Yes Yes Yes Yes Yes

MBS( "Text.ConvertUnicodeToCharacterComposition"; Text )

Parameters

Parameter Description Example value
Text The text to process. "Hello"

Result

Returns text or error.

Description

Converts text by applying unicode character normalization.
This function replaces character represented by decomposed representation with the composed representation.

see also
https://en.wikipedia.org/wiki/Unicode_equivalence

Examples

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…]

See also

Example Databases

Created 3th August 2015, last changed 3th August 2015


Text.Code   -   Text.ConvertUnicodeToCharacterDecomposition

Feedback: Report problem or ask question.




Links
MBS Xojo PDF Plugins