You are here: Re: Special characters pulled from wordpress database « PHP Programming Language « IT news, forums, messages
Re: Special characters pulled from wordpress database

Posted by sleepy1038 on 09/28/71 12:01

On Jan 28, 9:03 am, Willem Bogaerts
<w.bogae...@kratz.maardanzonderditstuk.nl> wrote:
> > I tried changing the encoding on the homepage to UTF-8 (wordpress uses
> > this), but no luck. Any ideas?
>
> What does your browser say the encoding is?
>
> Did you try to save a string from the database to a text file?
>
> If the browser says it is utf-8, and the text file shows question marks
> (even in a hexdump), it may be the connection library that generates the
> question marks.
>
> Good luck,
> --
> Willem Bogaerts
>
> Application smith
> Kratz B.V.http://www.kratz.nl/

Strange. My browser (firefox) was set to UTF-8 encoding. I set it to
ISO-8859-1 and the mdashes display fine. If I change the encoding in
the header of the web page to UTF-8, and then try to view with the
browser set to UTF-8, I still see the nonsense character. Any ideas on
why this won't work with UTF-8. The header of the Wordpress page shows
UTF-8, and everything displayes fine with the browser set to UTF-8.

Thanks,

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация