Keep Server Online
If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.
or
A donation makes a contribution towards the costs, the time and effort that's going in this site and building.
Thank You! Steffen
Your donations will help to keep this site alive and well, and continuing building binaries. Apache Lounge is not sponsored.
| |
|
Topic: HowTo on getting Apache2 to understand swedish letters |
|
Author |
|
Siddus
Joined: 07 May 2006 Posts: 4
|
Posted: Sun 07 May '06 17:31 Post subject: HowTo on getting Apache2 to understand swedish letters |
|
|
Hello, Sidddus here.
I am having big problems with getting Apache2 to understand swedish letters (Å,Ä.Ö ...)
in names of files and directorys, the weird thing is that this workes without a problem with Apache 1.3x but ever since I moved up to Apache2 this has never worked ??
I have even tried to run Apache 1.3x and Apache 2.x on the same machine with the php and mysql - settings and I only get it to work on Apache 1.3x ??
The thing is that I use php to display all the content on my webserver so if it would be a php-error then it wouldn't display the content properly with Apache 1.3x !!!
All help in this matter is appreciated so that I can get my pages to function correctly ..
Siddus |
|
Back to top |
|
Steffen Moderator
Joined: 15 Oct 2005 Posts: 3092 Location: Hilversum, NL, EU
|
Posted: Sun 07 May '06 17:59 Post subject: |
|
|
What charcterset you have in the directive : AddDefaultCharset ?
Steffen |
|
Back to top |
|
Siddus
Joined: 07 May 2006 Posts: 4
|
Posted: Sun 07 May '06 18:36 Post subject: |
|
|
I have tried :
AddDefaultCharset ISO-8859-1
and
AddDefaultCharset ISO-8859-15
and
AddDefaultCharset UTF-8
and
AddDefaultCharset Off
All I can figure out is that Apache 2.x has a different way of writing the URI
than Apache 1.3x uses ??
Any clues as to change that ??
Siddus |
|
Back to top |
|
James Blond Moderator
Joined: 19 Jan 2006 Posts: 7371 Location: Germany, Next to Hamburg
|
Posted: Sun 07 May '06 20:01 Post subject: |
|
|
Did you try to set your language first at LanguagePriority
Is it se? Also set AddDefaultCharset utf-8
But sometimes that do not work with the newer Browsers. Why? They don't accept the Charset from the Apache, they search in the document. If there is none set browser will use a default one. So put the right meta tag into your documents.
<meta http-equiv="content-type" content="text/html; charset=utf-8">
<meta name="language" content="se" />
Is the se for sweden correct? |
|
Back to top |
|
Siddus
Joined: 07 May 2006 Posts: 4
|
Posted: Wed 10 May '06 12:08 Post subject: |
|
|
I have tried setting the first LanguagePriority to sv, but nothing changes.
Have also tried to set AddDefaultCharset utf-8, no change.
I think that it is sv for sweden, thanks for the meta tag example, will try that and check back with the results .
Siddus |
|
Back to top |
|
|
|
|
|
|