- hasHighAsciiChars
bool hasHighAsciiChars(ascii data)
Undocumented in source. Be warned that the author may not have intended to support it.
- hasHighAsciiChars
deprecated bool hasHighAsciiChars(ubyte[] data)
Undocumented in source. Be warned that the author may not have intended to support it.
- stripNonAscii
string stripNonAscii(ascii data)
Undocumented in source. Be warned that the author may not have intended to support it.
- toUtf8
string toUtf8(ascii data, string cp, bool force)
Convert text in an arbitrary (known) encoding to UTF-8.
- toUtf8
deprecated string toUtf8(ubyte[] data, string cp, bool force)
Undocumented in source. Be warned that the author may not have intended to support it.
Code to convert strings from a few common codepages to UTF-8. Loosely based on https://github.com/adamdruppe/misc-stuff-including-D-programming-language-web-stuff/blob/master/characterencodings.d