NYCPHP Meetup

NYPHP.org

[nycphp-talk] I think this is an encoding issue?

Ajai Khattri ajai at bitblit.net
Wed Oct 17 15:41:23 EDT 2007


On Wed, 17 Oct 2007, Kenneth Downs wrote:

> I'm writing does in OO.org.  Then I export them to xhtml.  Those files I 
> parse with PHP and output HTML.
> 
> On my laptop this works out just fine.  But on the production server you 
> will see problem squiggly stuff instead of double-quotes, as on this page:
> 
> http://www.andromeda-project.org/pages/cms/Making+Hyperlinks
> 
> Can somebody give me a clue where to start Googling on this?


Yeah, looks like you're using a character set that isn't one used 
commonly on web browsers. You maybe have it installed on your computer so 
it works there.

In Firefox on my machine, I see the following header sent with the HTTP 
request:

Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7

So Im guessing that you need to use this encoding.



-- 
Aj.




More information about the talk mailing list