X-Git-Url: http://git.tdb.fi/?p=libs%2Fcore.git;a=blobdiff_plain;f=source%2Fstringcodec%2Fiso885915.cpp;h=eb26264d8dd5bacd7d72bc481ffbad5632dc25c7;hp=8dfc3a1e91a5c178e26461d686ea1bb340f76ce9;hb=817e584903996a041692640720a5a272d847a3c7;hpb=3e3868860d4f4ca1bbe55fbf271c804307cea3c9 diff --git a/source/stringcodec/iso885915.cpp b/source/stringcodec/iso885915.cpp index 8dfc3a1..eb26264 100644 --- a/source/stringcodec/iso885915.cpp +++ b/source/stringcodec/iso885915.cpp @@ -29,7 +29,7 @@ void Iso885915::Encoder::encode_char(unichar ch, string &buf) { int tch = transform_mapping_or_direct(mapping, map_size, ch, false); if(tch<0 || tch>0xFF) - error(ch, buf, "Can't express character in ISO-8859-15"); + error(ch, buf, invalid_character(ch, "ISO-8859-15")); else buf += tch;