benluteijn / cherokee

Automatically exported from code.google.com/p/cherokee
0 stars 1 forks source link

Default dirlisting theme is utf-8 but http header says iso-8859-1 #251

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Set cherokee up to use the dirlisting handler on a directory
2. Fetch headers and content
3. Compare

What is the expected output? What do you see instead?
Expected "Content-Type: text/html; charset=utf-8", but
found "Content-Type: text/html; charset=iso-8859-1"

What version of the product are you using? On what operating system?
cherokee 0.11.1

Please provide any additional information below.
The handler_dirlist.patch fixes the header, and
firefox3.patch makes the firefox3 theme output valid xhtml

Original issue reported on code.google.com by emil.ren...@gmail.com on 27 Nov 2008 at 10:10

Attachments:

GoogleCodeExporter commented 9 years ago
Both patches are alright. I'm applying them right away.
Thanks you!

Original comment by alobbs on 28 Nov 2008 at 9:13

GoogleCodeExporter commented 9 years ago
It's applied now:

 http://svn.cherokee-project.com/changeset/2501

Thank you Emil!

Original comment by alobbs on 28 Nov 2008 at 9:52

GoogleCodeExporter commented 9 years ago
You're very welcome.

I just wondered why firefox insisted on displaying my files in iso-8859-1 
although
they were obviously in utf-8. Apparently it values the http header highest.

Original comment by emil.ren...@gmail.com on 28 Nov 2008 at 4:02