ae.utils.iconv

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

Members

Functions

toUtf8
string toUtf8(in ascii data, string cp, bool force = false)

Convert text in an arbitrary (known) encoding to UTF-8.

Meta

Authors

Vladimir Panteleev <vladimir@thecybershadow.net>

License

This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. If a copy of the MPL was not distributed with this file, You can obtain one at http://mozilla.org/MPL/2.0/.