On lundi 15 septembre 2008, Rolf-Werner Eilert wrote:
> Hi folks,
>
> just a short question on UTF-8: in a Gambas 1 project, I've got a
> ListBox and a ComboBox, both with the same contents: a short list of
> names like A 08 or C 07.
>
> One of them is "Ü 08". The Listbox and the ComboBox both show these
> items correctly on screen. But when I read out the "Ü 08" from the
> ComboBox (ComboBox.Current.Text), the text isn't delivered correctly
> into the internal string. The ListBox however does deliver it correctly,
> so it's still a "Ü 08".
>
>
> What would you do to get a correctly made up string from the ComboBox?
> The problem is that I have to make a path from it like
>
> "/this/there" &/ theString & ".ending"
>
> where the theString results in some ".. 08" instead of "Ü 08" when it's
> read from the ComboBox.
>
> Thanks for your help.
>
> Rolf
>

Well done: you have found a bug there since the beginning! 

But it will only be fixed in Gambas2... 

Note that the ComboBox.Text property does not have the bug, so maybe you can 
use that to find a workaround...

Regards,

-- 
Benoit Minisini

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Gambas-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/gambas-user

Reply via email to