X-Git-Url: http://git.tdb.fi/?p=libs%2Fcore.git;a=blobdiff_plain;f=transcode.cpp;h=47a21848991d939637209a7c194e9c3ad4fa7460;hp=e8ba3eb5e05ca2b9a322288156f69fc19813ca4b;hb=d3fc0bf0f20f100f2831188c1ce21461d21c2c7a;hpb=94ee3a1040f67d9de2e92fc34049642b08d65b3e diff --git a/transcode.cpp b/transcode.cpp index e8ba3eb..47a2184 100644 --- a/transcode.cpp +++ b/transcode.cpp @@ -17,8 +17,8 @@ int main(int argc, char **argv) StringCodec::Codec *from = StringCodec::create_codec(argv[1]); StringCodec::Codec *to = StringCodec::create_codec(argv[2]); - StringCodec::Decoder *from_dec = from->create_decoder(StringCodec::TRANSLITERATE); - StringCodec::Encoder *to_enc = to->create_encoder(StringCodec::TRANSLITERATE); + StringCodec::Decoder *from_dec = from->create_decoder(); + StringCodec::Encoder *to_enc = to->create_encoder(); string line; while(getline(cin, line))