On quinta-feira, 24 de maio de 2012 10.05.50, 1+1=2 wrote:
> At present, when QT_NO_TEXTCODEC is defined, QTextStream use
> QString::fromLatin1() /QString::toLocal8Bit()
> to convert from/to bytes which looks like not very well. So I think it
> will be better to replace them with QUtf8::convertFromUnicode() and
> QUtf8::convertToUnicode().

Keep them Latin1. At least the tools will not screw up user data if they can't
figure out the locale.

--
Thiago Macieira - thiago.macieira (AT) intel.com
  Software Architect - Intel Open Source Technology Center
     Intel Sweden AB - Registration Number: 556189-6027
     Knarrarnäsgatan 15, 164 40 Kista, Stockholm, Sweden

Attachment: signature.asc
Description: This is a digitally signed message part.

_______________________________________________
Development mailing list
Development@qt-project.org
http://lists.qt-project.org/mailman/listinfo/development

Reply via email to