]> git.tdb.fi Git - libs/core.git/blobdiff - source/stringcodec/iso885915.cpp
Remove deprecated things
[libs/core.git] / source / stringcodec / iso885915.cpp
index 8dfc3a1e91a5c178e26461d686ea1bb340f76ce9..eb26264d8dd5bacd7d72bc481ffbad5632dc25c7 100644 (file)
@@ -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;