A
A
Alexander Fomin2011-05-19 13:24:06
MySQL
Alexander Fomin, 2011-05-19 13:24:06

Umlauts in MySQL

Faced a curious problem:
There is a database with data collected from German sites in UTF8 encoding.
If you do data sampling through PHP, then everything is displayed correctly in the browser.
However, if you connect to the database with the console or go through the Windows MySQLFront,
then instead of umlauts, such curious characters are displayed - ü.
The console, client and database are set to UTF8 encoding.
I rummaged through half-google but did not find a solution.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
M
Maxim, 2011-05-19
@maxout

in the font that is used in the terminal on the side closest to you, are these characters exactly there? Do you type them from the keyboard or copy-paste?
I would sin on the font, but if everything is ok with it, then the output of locale and show variables like 'character%'; to the studio!

B
Bambre, 2011-05-19
@Bambre

mysql-front.software.informer.com/5.0/ here they write that MySQLFront has problems with utf-8 ...
PS just in case, make sure that SHOW CREATE TABLE shows that the table and its fields use utf-8. character_set_database is just the default character set for the given database, nothing more.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question