[Interest] represent QHostAddress as locale dependent string

Reinhardt Behm rbehm at hushmail.com
Thu Sep 21 10:07:27 CEST 2017


On Thursday 21 September 2017 09:43:17 Manner Róbert wrote:
> On Wed, Sep 20, 2017 at 2:35 PM, Konstantin Tokarev <annulen at yandex.ru>
> wrote:
> 20.09.2017, 15:17, "Manner Róbert" <rmanni at gmail.com>:
> > 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.
> May be a bit off-topic, but note that those "european numbers" are in fact
> arabic :)
> 
> Good point, but if I talk about arabic numbers compared to arabic numbers,
> noone would understand my problem :)

Then call them Indian numbers. Because that's what they really are.
-- 
Best Regards

Reinhardt Behm





More information about the Interest mailing list