From e0fd14906dc99a835b9793c3c178009cef7a7bd6 Mon Sep 17 00:00:00 2001 From: jez_higgins <> Date: Wed, 10 Sep 2003 11:01:47 +0000 Subject: [PATCH] *** empty log message *** --- examples/Utils/transcode.cpp | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/examples/Utils/transcode.cpp b/examples/Utils/transcode.cpp index 24919ac0..6dbb8272 100644 --- a/examples/Utils/transcode.cpp +++ b/examples/Utils/transcode.cpp @@ -5,6 +5,7 @@ #include #include #include +#include #include #include #include @@ -12,14 +13,14 @@ int main(int argc, const char* argv[]) { - iconvert_adaptor, char> ia(std::cin); - oconvert_adaptor, char> oa(std::cout); + iconvert_adaptor ia(std::cin); + oconvert_adaptor oa(std::cout); - oa.imbue(std::locale(oa.getloc(), new utf16leucs2codecvt())); + ia.imbue(std::locale(ia.getloc(), new base64codecvt())); while(ia) { - oa << static_cast(ia.get()); + oa << static_cast(ia.get()); oa.flush(); } // while