[Interest] Why there is no QChar::toLocal8Bit()?

Christoph Cullmann cullmann at absint.com
Mon Apr 11 17:55:59 CEST 2016


Hi,

> On segunda-feira, 11 de abril de 2016 05:31:02 PDT Frédéric Marchal wrote:
>> I don't know how toLocal8bit degrades on processors where
>> a char is 16 or 32-bit long.
> 
> Processors with 16- or 32-bit bytes don't exist and, if they did, they
> wouldn't be supported by Qt.
:=) They do and are used (here the fun to do 8-bit accesses on such a 16-bit byte CPU):

http://processors.wiki.ti.com/index.php/Byte_Accesses_with_the_C28x_CPU

(the TI C33 has 32-bit bytes)

=> But yeah, they are from hell and thou shall now use Qt on them.

Greetings
Christoph

-- 
----------------------------- Dr.-Ing. Christoph Cullmann ---------
AbsInt Angewandte Informatik GmbH      Email: cullmann at AbsInt.com
Science Park 1                         Tel:   +49-681-38360-22
66123 Saarbrücken                      Fax:   +49-681-38360-20
GERMANY                                WWW:   http://www.AbsInt.com
--------------------------------------------------------------------
Geschäftsführung: Dr.-Ing. Christian Ferdinand
Eingetragen im Handelsregister des Amtsgerichts Saarbrücken, HRB 11234



More information about the Interest mailing list