|
Posted by Jensen Somers on 09/28/44 12:01
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]
|