0 registered members (),
1,209
guests, and 0
spiders. |
Key:
Admin,
Global Mod,
Mod
|
|
|
String Encoding (UTF8)
#276917
07/07/09 05:49
07/07/09 05:49
|
Joined: Feb 2009
Posts: 33 Germany, Hamburg
Vorick
OP
Newbie
|
OP
Newbie
Joined: Feb 2009
Posts: 33
Germany, Hamburg
|
Hi there,
I'm using a UTF8-encoded SQLite-Database (with GSTSQLite) in my current project. I need this encoding, because my project involves different languages. Now, when I'm pulling varchata data from the database into a string, I get e.g. "ü" instead of the german umlaut "ü". As a web developer I know this problem quite well, but in regards of Lite-C I have no idea how to handle this.
And just for background information: I'm currently displaying my strings in a panel digit with the font definition "Arial#14b".
Is there an equivalent to the php function "utf8_decode()"? How can I solve my problem?
Any hints are appreciated.
Patrick
Last edited by Vorick; 07/07/09 13:45.
A8.10 Commercial
|
|
|
Re: String Encoding (UTF8)
[Re: MMike]
#280883
07/24/09 14:20
07/24/09 14:20
|
Joined: Feb 2009
Posts: 33 Germany, Hamburg
Vorick
OP
Newbie
|
OP
Newbie
Joined: Feb 2009
Posts: 33
Germany, Hamburg
|
Sorry for the late reply.
I didn't really solve this problem. I am know generating my database entries from within the engine to avoid the problem.
A8.10 Commercial
|
|
|
Re: String Encoding (UTF8)
[Re: MMike]
#281056
07/25/09 08:44
07/25/09 08:44
|
Joined: Feb 2009
Posts: 33 Germany, Hamburg
Vorick
OP
Newbie
|
OP
Newbie
Joined: Feb 2009
Posts: 33
Germany, Hamburg
|
Maybe you can solve your problem the other way round (although I didn't try it):
If you're generating your html via php, you could try to utf8_decode/utf8_encode your html output to get 3dgs-readable data. This is something I have to try out myself in a couple of weeks, when trying to update Rankings from a webserver, but I'm not quite there yet.
A8.10 Commercial
|
|
|
|