From b51e232350d31b65a8cd055693c7869f0a896193 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sl=C3=A1vek=20Banko?= Date: Tue, 7 Apr 2020 02:21:44 +0200 Subject: Added controlled conversions to char* instead of automatic ascii conversions. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Slávek Banko (cherry picked from commit ef3976a6cb843f51333ea43172306a9c8f4954ef) --- src/htmlexporter.cpp | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) (limited to 'src/htmlexporter.cpp') diff --git a/src/htmlexporter.cpp b/src/htmlexporter.cpp index ad9a555..c9fe762 100644 --- a/src/htmlexporter.cpp +++ b/src/htmlexporter.cpp @@ -157,18 +157,18 @@ void HTMLExporter::exportBasket(Basket *basket, bool isSubBasket) imagesFolderName = (isSubBasket ? "../" : filesFolderName) + i18n("HTML export folder (images)", "images") + "/"; // eg.: "foo.html_files/images/" or "../images/" std::cout << "Exporting ================================================" << std::endl; - std::cout << " filePath:" << filePath << std::endl; - std::cout << " basketFilePath:" << basketFilePath << std::endl; - std::cout << " filesFolderPath:" << filesFolderPath << std::endl; - std::cout << " filesFolderName:" << filesFolderName << std::endl; - std::cout << " iconsFolderPath:" << iconsFolderPath << std::endl; - std::cout << " iconsFolderName:" << iconsFolderName << std::endl; - std::cout << " imagesFolderPath:" << imagesFolderPath << std::endl; - std::cout << " imagesFolderName:" << imagesFolderName << std::endl; - std::cout << " dataFolderPath:" << dataFolderPath << std::endl; - std::cout << " dataFolderName:" << dataFolderName << std::endl; - std::cout << " basketsFolderPath:" << basketsFolderPath << std::endl; - std::cout << " basketsFolderName:" << basketsFolderName << std::endl; + std::cout << " filePath:" << filePath.local8Bit() << std::endl; + std::cout << " basketFilePath:" << basketFilePath.local8Bit() << std::endl; + std::cout << " filesFolderPath:" << filesFolderPath.local8Bit() << std::endl; + std::cout << " filesFolderName:" << filesFolderName.local8Bit() << std::endl; + std::cout << " iconsFolderPath:" << iconsFolderPath.local8Bit() << std::endl; + std::cout << " iconsFolderName:" << iconsFolderName.local8Bit() << std::endl; + std::cout << " imagesFolderPath:" << imagesFolderPath.local8Bit() << std::endl; + std::cout << " imagesFolderName:" << imagesFolderName.local8Bit() << std::endl; + std::cout << " dataFolderPath:" << dataFolderPath.local8Bit() << std::endl; + std::cout << " dataFolderName:" << dataFolderName.local8Bit() << std::endl; + std::cout << " basketsFolderPath:" << basketsFolderPath.local8Bit() << std::endl; + std::cout << " basketsFolderName:" << basketsFolderName.local8Bit() << std::endl; // Create the data folder for this basket: TQDir dir; -- cgit v1.2.1