[Gambas-user] Problem with UCase$ ?

Lewis Balentine lewis at ...3412...
Wed Jan 28 19:48:43 CET 2015


"é" is not an ASCII character.

Reference: http://gambaswiki.org/wiki/lang/ucase
This function does not work with UTF-8 strings. UseString.UCase 
<http://gambaswiki.org/wiki/comp/gb/string/ucase>instead.

Word = "perché"
Print Word, UCase(Word), String.UCase(Word)
Word = UCase(Word)
Print Word
'-------------------------------
perché    PERCHé    PERCHÉ
PERCHé



On 01/28/2015 12:25 PM, Gian wrote:
> Hello all,
> I noticed one thing, if I write UCase $ ("perché") I get PERCHé
> If I write Print.Ucase ("perché") I get PERCHÉ
> It is correct?
> ("perché" is "why" or "because" in italian language)
> Regards
> Gianluigi
>
> ------------------------------------------------------------------------------
> Dive into the World of Parallel Programming. The Go Parallel Website,
> sponsored by Intel and developed in partnership with Slashdot Media, is your
> hub for all things parallel software development, from weekly thought
> leadership blogs to news, videos, case studies, tutorials and more. Take a
> look and join the conversation now. http://goparallel.sourceforge.net/
> _______________________________________________
> Gambas-user mailing list
> Gambas-user at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user




More information about the User mailing list