[Gambas-user] Quote() doesn't manage special italian chars - bug?

Benoit Minisini gambas at ...1...
Sat Nov 10 17:43:58 CET 2007


On samedi 10 novembre 2007, Stefano Palmeri wrote:
> Hi, Benoit.
>
> Downloaded and compiled last trunk.
> The Quote() little problem is still there. To me is not
> a great problem. I report it just for you to know.
>
> Best regards,
> Stefano Palmeri
>
> PUBLIC SUB Main()
>
>   DIM sSpecialChars AS String
>
>   sSpecialChars = "à ò è ì ù"
>   PRINT Quote(sSpecialChars)
>   PRINT "\""; sSpecialChars; "\""
>
> END
>
> result:
>
> "\xC3\xA0 \xC3\xB2 \xC3\xA8 \xC3\xAC \xC3\xB9"
> "à ò è ì ù"
>

There is no problem: the quoted string is exactly what it should be.

-- 
Benoit Minisini




More information about the User mailing list