Einzelnen Beitrag anzeigen
Alt 27.11.2009, 23:13   #1
athropos
Hero
 
Registriert seit: 24.07.2001
Alter: 46
Beiträge: 801


athropos eine Nachricht über Skype™ schicken
Standard Java mySQL Decoding Problem

Servus!

Ich habe folgendes Problem und bin leider bislang noch auf keine Lösung gekommen.

Aus einem (utf8_general_ci) Textfeld (TEXT oder VARCHAR) lese ich mittels mysql_connector den Inhalt (dieser enthält div. UTF-8 Zeichen).

Nur, Java zeigt mir diese Sonderzeichen (auch einfach nur Umlaute) nicht korrekt an

Befüllt wird das Tabellenfeld mittels einer PHP-Applikation, von dieser Seite aus ist imho auch alles in Ordnung (sprich dort funktionert das Auslesen und Darstellen problemlos, ich setze auch das mySQL Charset brav auf UTF-8 etc.)

Irgendwelche Tipps oder Ideen von eurer Seite? (Umwandlung via Byte[] funktioniert leider nicht).

thx & lG,
Athropos
____________________________________
Einstein, Pascal and Newton are playing hide and seek. Einstein is \"it\" so he faces the wall, closes his eyes and counts to π.
Pascal runs off like an idiot but Newton pulls out a piece of chalk and draws a 1m x 1m square on the ground and then stands in it\'s centre.

Einstein\'s done counting and turns around and sees Newton, so he grabs him and screams \"I found Newton!\"

Then Newton smirks and says, \"I\'m not Newton, I\'m Pascal\".
athropos ist offline   Mit Zitat antworten