My Database is configures as utf_unicode_ci. The Datafield is
configured as utf_unicode_ci too. If I write it with cout, I see the
correct message - but I don't see the word in WText. In WComboBox I see
the word, but with wrong charakter ("Ich w?re froh" as example). I've
written a workaround, so the charakters will be replaced with HTML-Codes
- but I can't use it with WComboBox. If I use ä in <select...>
<option>...</option>... it will be displayed as ä - but in Witty it's
written as ä, so the workaround only works with WText.
Koen Deforche schrieb:
> Hey Torsten,
>
> 2008/11/27 Torsten Schulz <[EMAIL PROTECTED]>:
>
>> Hi there,
>>
>> I've the Problem that many Entries in my Database (MySQL) are umlauts
>> (German ä, ö, ü, ...). And I've tested many things with witty like
>> WString::fromUTF8, toUTF8 and so on. But what ever I do, I'm not able to
>> see the umlauts. Every word that include a umlaut isn't visible. so the
>> sentense "Ich wäre froh" will be displayed as "Ich froh".
>>
>
> This is quite weird behavior, as it seems to recognize word boundaries?
> Do you have your database configured as UTF8 ?
>
> If not, how is the data stored in the database?
>
> If you are using Linux, nowadays the default locale is usually UTF8 in
> an xterm, and so you should be able to print the data from your
> database to stdout with the same result as using WString::fromUTF8()
> to display it in the browser.
>
> Regards,
> koen
>
> -------------------------------------------------------------------------
> 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=/
> _______________________________________________
> witty-interest mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/witty-interest
>
>
-------------------------------------------------------------------------
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=/
_______________________________________________
witty-interest mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/witty-interest