[Development] QString::fromAscii & toAscii's future

Thiago Macieira thiago.macieira at intel.com
Tue Apr 24 16:53:30 CEST 2012


On terça-feira, 24 de abril de 2012 15.36.24, Olivier Goffart wrote:
> On Tuesday 24 April 2012 14:27:10 Thiago Macieira wrote:
> > The question I have is: what shall we do with QString::fromAscii?
> 
> My personal preference would be to deprecate it.  The name is confusing
> compared to the others that explicitly specify the encoding.

ASCII is an encoding, though to be clear of what we're talking about, I often 
write US-ASCII when I mean ANSI X3.4-1986.

In any case, deprecating is orthogonal to the behaviour. What should the 
function do?

-- 
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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 190 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.qt-project.org/pipermail/development/attachments/20120424/f607601b/attachment.sig>


More information about the Development mailing list