3 This file is part of libmspstrings
4 Copyright © 2006-2007 Mikko Rasa
5 Distributed under the LGPL
14 void Latin1::Encoder::encode_char(wchar_t c_)
16 // Win32 has typedef unsigned short wchar_t
19 error("Can't express character in Latin-1");
24 void Latin1::Decoder::decode_char(const string &str, string::const_iterator &i)
28 append(static_cast<unsigned char>(*i++));