QString::fromLocal8Bit() doesn't work as expected, as we explicitly set the CodecForL...
commit6770f1ec90f47267369e55fe174632fda7c211fb
authorlordmulder <mulder2@gmx.de>
Sat, 10 Dec 2011 00:59:45 +0000 (10 01:59 +0100)
committerlordmulder <mulder2@gmx.de>
Sat, 10 Dec 2011 00:59:45 +0000 (10 01:59 +0100)
tree554176290a007c355880488640ec497b3b54cec2
parent545b9b49678263eca722c911c73c45a074d891e9
QString::fromLocal8Bit() doesn't work as expected, as we explicitly set the CodecForLocale to UTF-8 in the initialization code. Therefore we can't use QString::fromLocal8Bit() at places where the system's default Codec is needed. Instead we will now get the actual system Codec via QTextCodec::codecForName("System") at those places. That's not nice, but solves the problem.
etc/Translation/Blank.ts
etc/Translation/LameXP_PL.ts
src/Config.h
src/Model_CueSheet.cpp
src/PlaylistImporter.cpp