OSDN Git Service

Implemented a workaround to pass UTF-8 strings through qDebug(): As the argument...
authorlordmulder <mulder2@gmx.de>
Thu, 10 Mar 2011 01:07:51 +0000 (02:07 +0100)
committerlordmulder <mulder2@gmx.de>
Thu, 10 Mar 2011 01:07:51 +0000 (02:07 +0100)
commit4973aeca68a0eb57018b205039a40bec975755f4
tree9ff39d74971cdac112b968528d5ab907a6a5293c
parent3f40f1ed66672b37a204ee1fbec1f2653a0df96a
Implemented a workaround to pass UTF-8 strings through qDebug(): As the argument of qDebug() is defined as char*, we cannot pass UTF-16 strings. And as qDebug() mangles UTF-8 strings, we cannot pass UTF-8 encoded strings directly either. Consequently we will now encode UTF-8 strings as Base64 before passing them to qDebug(). A special prefix ("@BASE64@") is used to indicate Base64 encoded strings.
src/Config.h
src/Global.cpp
src/Thread_FileAnalyzer.cpp
src/Thread_Initialization.cpp