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

Stefano Palmeri rospolosco at ...152...
Sat Nov 10 17:51:10 CET 2007


Alle 17:43, sabato 10 novembre 2007, Benoit Minisini ha scritto:
> 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.

Sorry, could you redirect me to some page that explains the Quote() function
and what it's used for? :-)
Thanks,

Stefano






More information about the User mailing list