-
Notifications
You must be signed in to change notification settings - Fork 1
From_utf
mtbeek32 edited this page Feb 19, 2024
·
9 revisions
String functions from_utf
- from_utf(string_dataitem)
from_utf(string_dataitem) results in the conversion from string argument string_dataitem, utf8 encoded, to the basic ASCII character set (first 128 codes).
The last column in the example presents the resulting character for each special character.
The from_utf function can be used in string comparisons, for instance to compare addresses in which special characters can be ignored.
data items with string value type
argument string_dataitem must be utf8 encoded (default).
7.130
attribute<string> from_utf (TextDomain) := from_utf(a);
a | b | c | d | e | f | g | from_utf |
---|---|---|---|---|---|---|---|
À | Á | Â | Ä | Ã | Å | Æ | A |
à | á | â | ä | ã | å | æ | a |
Ç | C | ||||||
ç | c | ||||||
È | É | Ê | Ë | E | |||
è | é | ê | ë | e | |||
Ì | Í | Î | Ï | I | |||
ì | í | î | ï | ï | i | ||
Ñ | N | ||||||
ñ | n | ||||||
Ò | Ó | Ô | Ö | Õ | Ø | Œ | O |
ò | ó | ô | ö | õ | ø | œ | o |
Ù | Ú | Û | Ü | U | |||
ù | ú | û | u | ||||
Ý | Y | ||||||
ý | ÿ | y |
TextDomain, nr of rows = 16
GeoDMS ©Object Vision BV. Source code distributed under GNU GPL-3. Documentation distributed under CC BY-SA 4.0.