Posted by Juliette on 11/02/57 11:59
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/php_mysql_charset_fix/
Navigation:
[Reply to this message]
|