If I serve a UTF-8 encoded file *AND* set the default myself in Apache,
then everything is fine.  If the default encoding is left alone, Apache
serves it up as "windows-1252" and then UTF-8 encoded letters come out
as garbage like this: åäöÅÄÖéÉ

As seen from the browser HTTP_ACCEPT Headers, it seems to be the web
server making the choice.

Apache has a defaut encoding.  It should be a standard, UTF-8 or
ISO-8859, having non-standard windows-1252 in the default configuration
just makes a mess.  It's easy to fix by AddDefaultCharset to the
configuration.  However, it would be great if Apache worked with non-
English languages out of the box, especially when the locale is set so.

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to apache2 in Ubuntu.
https://bugs.launchpad.net/bugs/1258546

Title:
  Apache2 defaults to the wrong character set, it should be UTF-8

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/apache2/+bug/1258546/+subscriptions

-- 
Ubuntu-server-bugs mailing list
[email protected]
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs

Reply via email to