c++ Programming Glossary: xbc
Convert QString into QByteArray with either UTF-8 or Latin1 encoding http://stackoverflow.com/questions/5288959/convert-qstring-into-qbytearray-with-either-utf-8-or-latin1-encoding code point which is a sequence of two bytes 0xc3 0xbc . QString QString const char str and QByteArray QByteArray append.. by QString's constructor to decode two byte sequence 0xc3 0xbc it gets Answer By default no codec is set with QTextCodec setCodecForCStrings.. Latin1 will be used to decode byte sequence. As 0xc3 and 0xbc are both valid in Latin 1 representing respectively and ΒΌ this..
|