X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;ds=sidebyside;f=transcode.cpp;h=3f4121da9add1ae58ac472aeae78bde78542e0fe;hb=82f9f26dde92ea0e9714fd8878db8dad186ce7af;hp=e8ba3eb5e05ca2b9a322288156f69fc19813ca4b;hpb=056dc68dfc606a2c14126a70321045d6d9f12e0e;p=libs%2Fcore.git diff --git a/transcode.cpp b/transcode.cpp index e8ba3eb..3f4121d 100644 --- a/transcode.cpp +++ b/transcode.cpp @@ -1,4 +1,3 @@ -/* $Id$ */ #include #include #include @@ -17,8 +16,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))