3

When I installed a new WAMP server(2.1), I can only see ????? characters instead of some Unicode text. In phpMyAdmin I can see text correctly in database (UTF8).

It worked in an earlier WAMP version 2.0.

However, my browser shows Unicode text correctly from other sites.

hakre
  • 193,403
  • 52
  • 435
  • 836
Susantha
  • 31
  • 2
  • It's an encoding problem. I had similar problem when you retrieve code from Db try with "mysql_query("SET NAMES 'utf8'");"right after you connect and before you move any data.[link](http://stackoverflow.com/questions/5287821/mysql-db-question-marks-instead-of-hebrew-characters) – luca May 30 '11 at 06:36
  • Is this true only for values that come out of the DB or even constns in you PHP files? Or only PHPMyAdmin? – vbence May 30 '11 at 08:16
  • @luca Thank you very much for your help, that was the problem – Susantha May 30 '11 at 10:25

1 Answers1

0

You have a configuration error in at least one of the following areas:

sorin
  • 161,544
  • 178
  • 535
  • 806