char set problem

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
User avatar
itsmani1
Forum Regular
Posts: 791
Joined: Mon Sep 29, 2003 2:26 am
Location: Islamabad Pakistan
Contact:

char set problem

Post by itsmani1 »

I am having char set problem i want to know does php support unicodes?
for some character i am getting "?" i wanted to know if can replace them?

thank you
User avatar
feyd
Neighborhood Spidermoddy
Posts: 31559
Joined: Mon Mar 29, 2004 3:24 pm
Location: Bothell, Washington, USA

Post by feyd »

I'm pretty sure this question has been asked a few times. In fact, you, yourself, have been told about character encoding issues previously.

PHP will not natively support unicode until PHP 6.
User avatar
volka
DevNet Evangelist
Posts: 8391
Joined: Tue May 07, 2002 9:48 am
Location: Berlin, ger

Post by volka »

But that doesn't mean you can't handle unicode in php at all. php does not display unicode, that's the client. I.e. a ? is a problem your browser has with displaying a character. It might be the result of a php script trying to treat a unicode string/sequence/whatever as a plain-old-1byte-string. Might be but doesn't have to be. Hard to tell with this little information.
You shou..you might find
http://www.joelonsoftware.com/articles/Unicode.html wrote:The Absolute Minimum Every Software Developer Absolutely, Positively Must Know About Unicode and Character Sets (No Excuses!)
interesting
Post Reply