3 This file is part of libmspstrings
4 Copyright © 2006-2007 Mikko Rasa
5 Distributed under the LGPL
15 void Iso88591::Encoder::encode_char(UnicodeChar ch, string &buf)
18 return error(ch, buf, "Can't express character in ISO-8859-1");
23 void Iso88591::Encoder::transliterate(UnicodeChar, string &buf)
29 UnicodeChar Iso88591::Decoder::decode_char(const string &str, string::const_iterator &i)
32 return error("No input");
34 return static_cast<unsigned char>(*i++);