diff options
author | Thiago Macieira <thiago@macieira.org> | 2013-04-25 15:28:31 -0700 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2013-04-25 20:11:36 -0700 |
commit | 8da7a6985b057c5abfbd5ad1dbc7bdbfdcdfa0fb (patch) | |
tree | cda88bfa0bc1091f67f19b476fa28c5985684f9a /dives/TestDiveDivingLog5.08allmetric.xml | |
parent | 98027be1c1895013bfc3c4071c5d61d10fb70092 (diff) | |
download | subsurface-8da7a6985b057c5abfbd5ad1dbc7bdbfdcdfa0fb.tar.gz |
Ask Qt 4 to use the UTF-8 codec as the "codec for C strings"
Qt 5 does this by default, so it's not necessary there (in fact,
setCodecForCStrings was removed, so you catch any mistakes).
Now all QString methods taking a const char* or QByteArray
(constructor, append(), operator+=, operator<, etc.) will interpret
that char array as UTF-8. Conversely, the QByteArray methods taking a
QString will generate UTF-8 too. This includes the badly named
QString::fromAscii() and QString::toAscii().
Signed-off-by: Thiago Macieira <thiago@macieira.org>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'dives/TestDiveDivingLog5.08allmetric.xml')
0 files changed, 0 insertions, 0 deletions