On terça-feira, 24 de abril de 2012 15.01.15, [email protected] wrote:
> There's no use in 'fixing' fromAscii(), toAscii() if we're deprecating it
> anyway (which I support). So just let it be a synonym to fromLatin1(),
> toLatin1(), which it was by default anyway in Qt4.

Right, that's the minimal work solution: just mark it as deprecated and don't
change the implementation. Well, minimal work for fromAscii -- the rest of the
code using it needs to be updated to fromUtf8().

Since it does work properly as "from ASCII", if we choose later that we want
it, we can un-deprecate it.

--
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
[email protected]
http://lists.qt-project.org/mailman/listinfo/development

Reply via email to