Xojo Conferences
XDCMay2019MiamiUSA

Platforms to show: All Mac Windows Linux Cross-Platform

ConvertUnicodeToCharacterCompositionMBS(text as string) as string
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
global method String MBS Util Plugin 15.2 Yes Yes Yes Yes No
Function: Converts unicode characters to composed normalization form.
Example:
dim s1 as string = ConvertUnicodeToCharacterDecompositionMBS("ä")

MsgBox s1+": "+EncodeHex(s1)

dim s2 as string = ConvertUnicodeToCharacterCompositionMBS("ä")

MsgBox s2+": "+EncodeHex(s2)
Notes:
This function replaces character represented by decomposed representation with the composed representation.

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

Feedback, Comments & Corrections

ConvertUnicodeToCharacterDecompositionMBS(text as string) as string
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
global method String MBS Util Plugin 15.2 Yes Yes Yes Yes No
Function: Converts unicode characters to decomposed normalization form.
Example:
dim s1 as string = ConvertUnicodeToCharacterDecompositionMBS("ä")

MsgBox s1+": "+EncodeHex(s1)

dim s2 as string = ConvertUnicodeToCharacterCompositionMBS("ä")

MsgBox s2+": "+EncodeHex(s2)
Notes:
This function replaces character represented by one unicode character by the decomposed variant.

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

Feedback, Comments & Corrections

The items on this page are in the following plugins: MBS Util Plugin.




Links
MBS Xojo Plugins