| Home | Register | FAQ | Members List | Search | Today's Posts | Mark Forums Read |
| DesignersTalk > Cyrillic Alphabet (russian) Problem! PHP-MySQL |
|
LinkBack | Thread Tools | Search this Thread |
|
|
#1 (permalink) |
|
Registered User
Join Date: Sep 2006
Location: manchester/England/UK/Earth
Posts: 37
|
Hi Friends; I have a problem which is making me crazy I'm making a russian website, so I did use; <meta http-equiv="Content-Type" content="text/html; charset=windows-1251"> But I still have problem with characters; I see something like this at explorer; Р�нтернет-программирование дает but at code side, I see all characters fine; Интернет-программирование дает возможность разрабатывать и внедрять максимально эффективные решения Also I have a mysql database, and I made; Collation; sp1251_general_ci and i see the data in correct characters at phpMyAdmin. but when i call this data by php-sql, at explorer I see only ????????? ???????????? "??????" ???????? ?????? I hope you can give an idea about this problem... Thank all you very much... |
|
|
|
|
|
#3 (permalink) | |
|
Registered User
Join Date: Sep 2006
Location: manchester/England/UK/Earth
Posts: 37
|
Quote:
Thanks for answer, but I tried at first, "same problem"... I did sort out the static content's character problem by including one header.php. Now my problem is only to see ????????? when i call some data from mysql database : ( |
|
|
|
|
#4 (permalink) |
|
Registered User
Join Date: Sep 2006
Location: manchester/England/UK/Earth
Posts: 37
|
anybody has any idea? I tried charset=utf-8 as well. but no success. All character, embeded to the files, are fine... there is no problem about them. But when I call data from mysql db, i see ?????? as output to explorer |
|
|
|
#6 (permalink) | |
|
Registered User
Join Date: Sep 2006
Location: manchester/England/UK/Earth
Posts: 37
|
Quote:
mysql db = utf8_unicode_ci php page = <meta http-equiv="Content-Type" content="text/html; charset=windows-1251"> but i tried cp_1251_general_ci, utf-8, latin as well. i tried to use same encoding at mysql and php page as well, but no success |
|
|
|
|
#7 (permalink) |
|
Registered User
Join Date: Sep 2006
Location: manchester/England/UK/Earth
Posts: 37
|
--------------------------------------------------------------------- PHP PAGE: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> --------------------------------------------------------------------- MySQL DB MySQL charset: UTF-8 Unicode (utf8) --------------------------------------------------------------------- PHP Code at Dreamweaver <li><p class="information">необходимые поля для заполнения looks fine --------------------------------------------------------------------- Browser Output ����������� ���� ��� ���������� --------------------------------------------------------------------- Why is this? I hope you can advise any solution. many thanks friends... |
|
|
|
#9 (permalink) | |
|
Registered User
Join Date: Sep 2006
Location: manchester/England/UK/Earth
Posts: 37
|
Quote:
yes i did change that part as well Modify > Page Properties > Title/Encoding... Everything looks fine, I just dont understand what is wrong! Im sure it is a very simple problem at somewhere, so annoying... anyway.... thanks for helps guys... |
|
|
|
|
#10 (permalink) |
|
Registered User
Join Date: May 2008
Posts: 1
|
cyrillic ????? problem
Hey there I had the same problem , I am using Macedonian characters (Cyrillic) and i Allwasy got ?????? on the Web Browser, I've entered this two functions RIGHT AFTER the connection in the PHP code: ex: $query = "SELECT... $result = mysql_query($query); mysql_query("SET CHARACTER SET utf8"); mysql_query("SET NAMES utf8");and now finally everything is OK. |
|
![]() |