[Interest] represent QHostAddress as locale dependent string

Thiago Macieira thiago.macieira at intel.com
Wed Sep 20 17:49:56 CEST 2017


On quarta-feira, 20 de setembro de 2017 05:16:51 PDT Manner RĂ³bert wrote:
> Hi,
> 
> is there a way convert an ip address locale dependent as string? I mean,
> similarly as QLocale().toString() does for numbers or dates: for eg arabic
> locale it gives back arabic "hieroglyphs".
> 
> I have tried QHostAddress::toString(), but it still returns european
> numbers for eg arabic.

And will continue to do so, just as the socket classes and QUrl will never 
understand require Latin script digits. 

IP addresses are not localiseable.

-- 
Thiago Macieira - thiago.macieira (AT) intel.com
  Software Architect - Intel Open Source Technology Center




More information about the Interest mailing list