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 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