You are not logged in.

htillmann

Beginner

  • "htillmann" is male
  • "htillmann" started this thread

Posts: 30

Date of registration: Feb 25th 2009

Location: Beverungen / Weser

Occupation: Softwareentwicklung

  • Send private message

1

Tuesday, February 1st 2011, 10:15am

string conversion from utf8

Hi all,

i have some german "Umlaute" in a mySQL database in UTF8 format.
How can I show the correct characters in my jabaco frontend textfield?

regards
Hubertus

A1880

Intermediate

  • "A1880" is male

Posts: 500

Date of registration: Jan 1st 2009

Location: Hanover, Germany

Occupation: Software Engineer

Hobbies: Hilbert Curves

  • Send private message

2

Tuesday, February 1st 2011, 11:32am

As far as I know, all Java strings are composed of two-byte Unicode characters.
To resolve your problem, you should find out where the information gets lost or disturbed.
Is it between mySQL server and local application recordset?
Or is the data transfered correctly but garbled up when it comes to the TextBox?

Do you get two characters for one Umlaut character?

Greetings

A1880

htillmann

Beginner

  • "htillmann" is male
  • "htillmann" started this thread

Posts: 30

Date of registration: Feb 25th 2009

Location: Beverungen / Weser

Occupation: Softwareentwicklung

  • Send private message

3

Tuesday, February 1st 2011, 1:03pm

Thanks A1880,

I have just realized that the browser might be the cause for showing garbage.
My Webapplikation with PHP running in a CMS seems to be responsible.
I'm coming back with a solution or a cry for help.

regards
Hubertus

Dani

Intermediate

Posts: 325

Date of registration: Nov 19th 2009

Location: GERMANY

  • Send private message

4

Tuesday, February 1st 2011, 1:47pm

Vielleicht hilft Dir dies weiter (maybe this helps):

http://forum.mysqldumper.de/die-umlautpr…-tun-t2313.html

htillmann

Beginner

  • "htillmann" is male
  • "htillmann" started this thread

Posts: 30

Date of registration: Feb 25th 2009

Location: Beverungen / Weser

Occupation: Softwareentwicklung

  • Send private message

5

Tuesday, February 1st 2011, 4:29pm

thanks Dani,

that was it. I just altered the characterset of the CMS from UTF-8 to Latin.
No garbage anymore.

regards
Hubertus

Rate this thread
WoltLab Burning Board