X-Git-Url: http://git.tdb.fi/?p=libs%2Fcore.git;a=blobdiff_plain;f=transcode.cpp;h=47a21848991d939637209a7c194e9c3ad4fa7460;hp=e8ba3eb5e05ca2b9a322288156f69fc19813ca4b;hb=79482ba7aea1b79c7a310c940cc0292532ef3bcb;hpb=056dc68dfc606a2c14126a70321045d6d9f12e0e 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))