From: Mikko Rasa Date: Mon, 21 Sep 2009 16:28:17 +0000 (+0000) Subject: Use transliterate mode in transcode X-Git-Tag: strings-1.1~1 X-Git-Url: http://git.tdb.fi/?a=commitdiff_plain;h=9369de52faf6745dfedaed19b96ed4b4c13b2a72;p=libs%2Fcore.git Use transliterate mode in transcode --- diff --git a/transcode.cpp b/transcode.cpp index 12b93ec..bba64ab 100644 --- a/transcode.cpp +++ b/transcode.cpp @@ -17,8 +17,8 @@ int main(int argc, char **argv) Codecs::Codec *from=Codecs::create_codec(argv[1]); Codecs::Codec *to=Codecs::create_codec(argv[2]); - Codecs::Decoder *from_dec=from->create_decoder(); - Codecs::Encoder *to_enc=to->create_encoder(); + Codecs::Decoder *from_dec=from->create_decoder(Codecs::TRANSLITERATE); + Codecs::Encoder *to_enc=to->create_encoder(Codecs::TRANSLITERATE); string line; while(getline(cin, line))