Hello... i have problem with UTF-8 encoding...

My database and table collation are utf8_general_ci, and when I add new insert query in the database is ok, but when I'm trying to print i got -> ????

The results are:
In the database -> Дамјан Крстевски
In the browsers -> ?????? ?????????

Thanks...

Edit: The problem is solved... the solution is:

after mysql_connect add mysql_query('SET NAMES utf8');

Thanks for your help :)

your browser isn't supporting the cyrillic charactors.
There's probably a plugin that you need.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.