RE: possible issue with quotes (Magicquotes feature)?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



From: David Mehler

> I've got a php5 document and some items are showing up as question
> marks. For example, the word President's in the code it is President's
> however when displaying in the browser it's President?s the "'" is not
> being displayed properly, this is occurring in several places and on
> several pages.
> The php version my hosting is using is 5.2.14, a check of phpinfo
> shows magic_quotes_gpc as on, magic_quotes_runtime and
> magic_quotes_sybase as off. Is this my issue?

Not likely, magic quotes escapes MySQL style, which doubles up any
backslashes, not single quotes. The more likely issue is the character
encoding on your system is incompatible with the version used on the
server. If the server is using UTF and you only have an ASCII set, there
may not be a display character available on your browser for the code
used for that character on the server. I see this frequently when
viewing pages translated from other languages into English, or pages
generated by any number of Wikis and template packages. UTF is still a
quagmire of incompatible font sets.

Bob McConnell

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux