X-Git-Url: http://git.tdb.fi/?p=libs%2Fcore.git;a=blobdiff_plain;f=source%2Fstringcodec%2Fiso88591.cpp;h=cdb5f484a2f7532d1987828971dc37336c69f83e;hp=19c1b8908131ec443d091f00685db282a0401986;hb=02794ef3620d0d9cc3b8f1c0d8f2995c825fdf4f;hpb=b011b17393069d86790b2291a759280e15c75a0f diff --git a/source/stringcodec/iso88591.cpp b/source/stringcodec/iso88591.cpp index 19c1b89..cdb5f48 100644 --- a/source/stringcodec/iso88591.cpp +++ b/source/stringcodec/iso88591.cpp @@ -5,7 +5,7 @@ using namespace std; namespace Msp { namespace StringCodec { -void Iso88591::Encoder::encode_char(UnicodeChar ch, string &buf) +void Iso88591::Encoder::encode_char(unichar ch, string &buf) { if(ch<0 || ch>0xFF) return error(ch, buf, "Can't express character in ISO-8859-1"); @@ -13,13 +13,13 @@ void Iso88591::Encoder::encode_char(UnicodeChar ch, string &buf) buf += ch; } -void Iso88591::Encoder::transliterate(UnicodeChar, string &buf) +void Iso88591::Encoder::transliterate(unichar, string &buf) { buf += '?'; } -UnicodeChar Iso88591::Decoder::decode_char(const string &str, string::const_iterator &i) +unichar Iso88591::Decoder::decode_char(const string &str, string::const_iterator &i) { if(i==str.end()) return error("No input");