Reply to Re: about unicode

Your name:

Reply:


Posted by Emil on 06/02/06 07:40

ncix napisał(a):
> i have unicode support mysql database with data.
> how i can retrieve this data in php page i have tried using simple sql
> query but it shows only "???????????" characters
>
> regards
> ncix
>
You have to set client library encoding to unicode.
E.g. mysql_query('SET NAMES utf8') after every connection to database.
You can check current encoding by calling mysql_get_client_encoding();
And, of course check if the fields in database and web page have proper
encoding.
grtz. Emil

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация