#include <string>
#include <msp/core/except.h>
+#include "ustring.h"
namespace Msp {
namespace StringCodec {
-typedef int unichar;
-
-typedef std::basic_string<unichar> ustring;
-
enum ErrorMode
{
THROW_ON_ERROR,
THROW_ON_ERROR: throws CodecError(msg)
IGNORE_ERRORS: returns -1
- TRANSLITERATE: return 0xFFFE */
+ TRANSLITERATE: return 0xFFFD */
unichar error(const std::string &msg);
};