[Gambas-user] An utility component for Gambas

Charlie Reinl Karl.Reinl at ...2345...
Mon Dec 1 23:03:54 CET 2014


Am Montag, den 01.12.2014, 15:54 -0600 schrieb Lewis Balentine:
> >>Removing accents from an UTF-8 string.<<
> H'mmmm ..... Plan "A" is a loser.
> 
> it seems the instr() function does not like accented characters:
> P = InStr("Ũ", "ŷŶũŨẽẼĩĨòåš")
> Result: P=0
> 
Salut Lewis,

for UTF-8 use "String." to deal with accented characters.


-- 
Amicalement
Charlie





More information about the User mailing list