Reply to Re: Special characters pulled from wordpress database

Your name:

Reply:


Posted by sleepy1038 on 02/01/08 15:52

On Jan 28, 1:46 pm, sleepy1038 <clar...@gmail.com> wrote:
> 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,

Any other ideas on this issue. Since my last post, I tried using
utf8_encode on the string pulled from the database. This method
actually strips out the special characters entirely!! I'm at a loss.

[Back to original 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

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