Hi List,

Been trying to debug a bizarre problem involving what looks like a character 
encoding issue with SSIs.

Basically we have an application that serves chunks of HTML as little snippets 
that are SSI'd into static HTML pages (the static page SSI URLs point to app 
endpoints that build and return dynamic wo components).

All the WO Component file encodings are set to UTF-8, and I've added code in 
Application's dispatchRequest to add UTF-8 encoding to all responses, but 
sometimes every character in the response comes back as one of the UTF 
designated error glyphs, including non-dynamic elements like simple <div> tags, 
etc.

We briefly cache the response content in case those snippets are called often, 
and when the cache goes stale the snippets exhibit the problem, but an 
immediate refresh causes all the characters to be rendered correctly (in this 
example, our snippets are in Romanian). But, when I call the snippet URLs 
directly in the browser individually, I cannot reproduce this. It seems 
specific to the SSI inclusion but the static HTML page is utf-8, and I've even 
tried adding a .htaccess file to enforce utf-8 encoding, with no luck.

Hoping you guys can help!

-Ben _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to