I'm setting up a webserver and thought I'd make it use UTF-8 right away.

I've configured Apache2 and (re)started it:

#AddDefaultCharset ISO-8859-1
AddDefaultCharset UTF-8

I've also installed glibc-locales, configured /etc/locales.conf to 
include english and norwegian (see below) and I ran locales-gen afterwards.

en_US UTF-8
en_US ISO-8859-1
nb_NO UTF-8
nb_NO ISO-8859-1


I then have a test file test.html which contains a norwegain sentence 
with special norwegian letters (æ ø å). When I try to view the page, all 
the special letters are displayed as something else. In opera (v8.5, 
auto-select encoding selected) it is a square turned 45 degrees with a 
questionmark inside. IE6, set to UTF-8, displayes some chinese/japanese 
signs instead of the characters. If I select auto-select encoding in 
IE6, I get the correct characters. Changing Opera manually to UTF-8 
gives the same square, but choosing ISO-8859-1 gives me the correct 
characters...

Whats wrong? Should I just not bother trying to use UTF-8?


/Christopher
_______________________________________________
tsl-discuss mailing list
[email protected]
http://lists.trustix.org/mailman/listinfo/tsl-discuss

Reply via email to