PDA

View Full Version : [all variants] Problems with danish letters


Anders B
March 5th, 2009, 12:53 PM
When i put danish letters in either a php or html page like this:

æ ø å

I get this
æ ø å


I bet it's a simpel setting somewhere, but since im not that familiar with linux, I have no idea where.

bluefrog
March 6th, 2009, 04:48 PM
adjusting the charset used by apache in /etc/apache2/conf.d/charset should do the trick

Anders B
March 8th, 2009, 07:19 AM
This is how it looks now:

# Read the documentation before enabling AddDefaultCharset.
# In general, it is only a good idea if you know that all your files
# have this encoding. It will override any encoding given in the files
# in meta http-equiv or xml encoding tags.

#AddDefaultCharset UTF-8

What should it look like?

JeppeM
March 9th, 2009, 06:04 AM
Hej Anders,

Make it ISO-8859-1, and remove the # infront of the AddDefaultCharset line. This will only take effect on html and text files though..

Håber det virker ;)

Anders B
March 9th, 2009, 12:34 PM
It seems so :D

Thanks, mate :)