German character

Post here your questions about Actionscript and Java server side extensions development.

Moderators: Lapo, Bax

Post Reply
Johannes
Posts: 32
Joined: 14 Oct 2008, 06:01
Location: Earth

German character

Post by Johannes »

Hello
I have some problems with german characters...
When I make mysql query in my serverside extension, for example:


var sql = "INSERT INTO `mydb`.`mytable` (`mess`, `author`) VALUES ('weltberühmte', 'me',)";
var queryRes = dbase.executeCommand(sql);


I got question-mark in mysql table instead of umlaut character (ü).
Mysql encoding is utf8 and when I make such query through php it's allright...

How can I resolve this problem?

P.S. sorry for not properly mounting of my post, but within "Code" tags umlaut was not reflected too:

Code: Select all

weltberühmte
Don't worry, be happy! :)
User avatar
Lapo
Site Admin
Posts: 23438
Joined: 21 Mar 2005, 09:50
Location: Italy

Post by Lapo »

This shouldn't happen. Do you have the same problem in the chat, for example?
It could be a driver problem (is the latest?) but if the issue exists in the chat too then it should be something else, maybe the jre not configured correctly or not up to date.
Lapo
--
gotoAndPlay()
...addicted to flash games
Johannes
Posts: 32
Joined: 14 Oct 2008, 06:01
Location: Earth

Post by Johannes »

Hello Lapo.
In the chat it's ok, and in flash-client it's ok. Problem appears only when I try to write it into the mysql database

MySQL version: 5.0.67
SFS Pro 1.6.6
java version "1.6.0" (Java(TM) SE Runtime Environment)
Don't worry, be happy! :)
User avatar
Lapo
Site Admin
Posts: 23438
Joined: 21 Mar 2005, 09:50
Location: Italy

Post by Lapo »

Then I would say the the problem is MySQL related. I would suggest to better investigate the MySQL settings/config or trying a connector update if possible.
Lapo
--
gotoAndPlay()
...addicted to flash games
Jipii
Posts: 72
Joined: 18 Aug 2008, 08:53
Location: Frankfurt, Germany

Post by Jipii »

Which collation do you set?
Post Reply