From 9369de52faf6745dfedaed19b96ed4b4c13b2a72 Mon Sep 17 00:00:00 2001 From: Mikko Rasa Date: Mon, 21 Sep 2009 16:28:17 +0000 Subject: [PATCH] Use transliterate mode in transcode --- transcode.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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)) -- 2.45.2