By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
425,588 Members | 1,920 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 425,588 IT Pros & Developers. It's quick & easy.

Russian characters in MySQL and phpMyAdmin

P: n/a
Could anybody kindly point me to a clue in the following enigma :

I have phpMyAdmin - 2.8.2.4 and MySQL - 4.1.13-nt. In the phpMyAdmin
opened in any browser I am able to enter and store Russian characters
in the DB; I cal also call the data back to display them in the
phpMyAdmin.

When I try to do the same from my own page, only some garbage with
double as many characters as an original word gets stored in the DB (at
least I see it like this in the phpMyAdmin). If I try to show the data
saved in the DB - which can be perfectly seen in the correct form in
the phpMyAdmin - I get only question marks instead of the characters
(the same quantity however) displayed on my site.

Why does it all work in the phpMyAdmin and does not in my project?

I checked the source code of the phpMyAdmin and found the line
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
which I have either in my site. Nevertheless, it does not help much...

What else could be the reason?

Regards
Victor

Sep 28 '06 #1
Share this Question
Share on Google+
2 Replies


P: n/a
Victor wrote:
Could anybody kindly point me to a clue in the following enigma :

I have phpMyAdmin - 2.8.2.4 and MySQL - 4.1.13-nt. In the phpMyAdmin
opened in any browser I am able to enter and store Russian characters
in the DB; I cal also call the data back to display them in the
phpMyAdmin.

When I try to do the same from my own page, only some garbage with
double as many characters as an original word gets stored in the DB (at
least I see it like this in the phpMyAdmin). If I try to show the data
saved in the DB - which can be perfectly seen in the correct form in
the phpMyAdmin - I get only question marks instead of the characters
(the same quantity however) displayed on my site.

Why does it all work in the phpMyAdmin and does not in my project?

I checked the source code of the phpMyAdmin and found the line
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
which I have either in my site. Nevertheless, it does not help much...

What else could be the reason?

Regards
Victor
Read the following tutorial and I do believe your problem will be solved:
http://www.adviesenzo.nl/examples/ph...l_charset_fix/
Sep 29 '06 #2

P: n/a
Thanks Juliette!

Sep 29 '06 #3

This discussion thread is closed

Replies have been disabled for this discussion.