My sql contains "Joël" when i read this via php i

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
byenary
Forum Newbie
Posts: 10
Joined: Mon Apr 03, 2006 6:15 am

My sql contains "Joël" when i read this via php i

Post by byenary »

So my mysqldb contains a name "Joël" when i read this via php i get something like this Jo�l , i assume this has something to do with charset but im not able to find the clue here, anyone ?

Thx
jmut
Forum Regular
Posts: 945
Joined: Tue Jul 05, 2005 3:54 am
Location: Sofia, Bulgaria
Contact:

Post by jmut »

it will be good to supply more info.
php version, mysql version etc.
byenary
Forum Newbie
Posts: 10
Joined: Mon Apr 03, 2006 6:15 am

more info

Post by byenary »

old server redhat
PHP Version 4.2.2
Your MySQL connection id is 85597 to server version: 3.23.54


new server ubuntu
PHP Version 5.0.5-2ubuntu1.2
Your MySQL connection id is 197 to server version: 4.0.24_Debian-10ubuntu2-log

I hope this helps
User avatar
feyd
Neighborhood Spidermoddy
Posts: 31559
Joined: Mon Mar 29, 2004 3:24 pm
Location: Bothell, Washington, USA

Post by feyd »

I may pass the string through a Multibyte String function.
Post Reply