[Gambas-user] umlauts and other special characters
Hans-Martin Böhme
bundeshund at ...467...
Wed Dec 12 15:43:54 CET 2007
Hi all,
i have a problem with special characters stored in a MySQL database. I want to
create a big vCard and import them into KAdressbook. That works fine so far,
but i have problems with special characters e.g. german 'Ä'.
What i have done so far:
..open DB
'get the orginal characterset from the DB
DBCHARSET = $hConn.Charset
...
mytmpstr = Conv$(rData!text, DBCHARSET, "UTF-8")
...
'create vCard-like String into MyvCard as String
...
'save the vCard
File.Save("/home/usr/vcardtest.vcf", MyvCard)
I tried different charsets, but i see no changes in the output-file. Its
allways wrong and allways wrong with the same characters...
Any help?
Greetings
Hans-Martin
More information about the User
mailing list