Page 1 of 1

Strange Simbols

Posted: Tue Mar 03, 2009 9:05 am
by MIGO
Anyone knows what causes the appearance of this -> 

Regards

Re: Strange Simbols

Posted: Tue Mar 03, 2009 10:15 am
by onion2k
Serving a page in one character set, but using a different character encoding in the HTML (or database) usually.

Re: Strange Simbols

Posted: Tue Mar 03, 2009 11:18 am
by MIGO
UTF-8 ? or ANSI ?

Re: Strange Simbols

Posted: Tue Mar 03, 2009 12:16 pm
by onion2k
Those are two encoding schemas, there are many, many more. To avoid problems with strange characters you need to make sure you're using the same character set everywhere in your application - from the database tables, to the database connection, to PHP, to the HTTP headers, to the HTML charset meta tag. A single difference anywhere in the chain can break things completely.

Re: Strange Simbols

Posted: Tue Mar 03, 2009 12:48 pm
by MIGO
Ok thank you I will to that ;)

edit: I did that and its all goood :D, thank you mate.