Method string_filter_non_unicode()
- Method string_filter_non_unicode
string(1..) string_filter_non_unicode(string s)
- Description
Replace the most obviously non-unicode characters from s with the unicode replacement character.
- Note
This will replace characters outside the ranges
0x00000000-0x0000d7ff
and0x0000e000-0x0010ffff
with 0xffea (the replacement character).- See also
Charset.encoder(), string_to_unicode(), unicode_to_string(), utf8_to_string(), string_to_utf8()