|
Posted by Kailash Nadh on 09/28/11 12:01
On Jan 28, 1:39 pm, sleepy1038 <clar...@gmail.com> wrote:
> Hello,
>
> I'm developing a site that makes use of wordpress. The homepage is
> outside of wordpress and I am pulling the latest 3 blog posts from the
> wordpress database to display on the homepage. The problem is that
> special characters (—) for example, do not display properly. It
> displays as a "?" with a diamond around it �. The characters actually
> display fine withing the wordpress blog portion of the site.
>
> I tried changing the encoding on the homepage to UTF-8 (wordpress uses
> this), but no luck. Any ideas?
>
> Thank You
If you are passing your content through htmlentities(), that might be
the problem.
--
Kailash Nadh | http://kailashnadh.name
Navigation:
[Reply to this message]
|