Page 1 of 1

Problem with greek char in PHP and MySQL on Ubuntu Server

Posted: Fri May 01, 2009 5:45 am
by zenon
Hello.

I created a database with MySQL and PHP on Windows XP.
My database store greek characters. I used utf8 as a charset.
Now, i moved my database and PHP script on Ubuntu Server and i can't see the data stored in my database though PHP.
In my database, i can see some incomprehensible characters.

Do you have any ideas how to correct it?
I found on the internet that a solution is to use utf8_general_ci as charset.

As i don't have Ubuntu server at my home, just at work, i want to correct it but i can't test it at home.

Any help would be very welcome!

Thank you!


Best regards,
Zinonas

Re: Problem with greek char in PHP and MySQL on Ubuntu Server

Posted: Fri May 01, 2009 12:46 pm
by Benjamin
:arrow: Moved to PHP - Code