I'm looking for the same thing. Have you had any luck?

- Romuald

On Thursday, September 9, 2010 2:31:36 PM UTC+2, Elias Naur wrote:
>
> Hi, 
>
> It seems that both the development server and the production servers 
> by default serves static html files with the "Content-type:text/html" 
> response header. That's fine, except that I'd like a "charset = utf-8" 
> appended to that. The relevant app.yaml entry looks like this: 
>
>
> - url: / 
>   static_files: index.html 
>   upload: index.html 
>
> it's possible to include the encoding in the html headers with a 
> "Content-Type" meta tag, but I'd like to specify the utf-8 encoding 
> globally, without worrying that some random html file didn't include 
> the header. It's also possible to use a python handler to output the 
> html file and set the encoding explicitly, but then my static files 
> are no longer static, and will incur a higher overhead. 
>
> So my question is: Can charset be set for static files through 
> app.yaml or some other means? 
>
>  - elias 
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-appengine/-/8j5P4xSoYmgJ.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.

Reply via email to