|
Posted by sleepy1038 on 09/28/70 12:01
I tried using both these functions before, but no luck.
On Jan 28, 8:52 am, Jensen Somers <jensen.som...@gmail.com> wrote:
> sleepy1038 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
>
> Did you try to pass them through htmlentities() or htmlspecialchars()?
>
> - Jensen
Navigation:
[Reply to this message]
|