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

lars.knoll at nokia.com lars.knoll at nokia.com
Tue Apr 24 16:42:42 CEST 2012


I'm with Olivier here. The default meaning in 4.x was :fromLatin1() (if
you didn't use setCodecForCStrings()), so we could simply leave that
behavior and simply deprecate the API.

Cheers,
Lars

On 4/24/12 3:36 PM, "ext Olivier Goffart" <olivier at woboq.com> 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.
>_______________________________________________
>Development mailing list
>Development at qt-project.org
>http://lists.qt-project.org/mailman/listinfo/development




More information about the Development mailing list