Forum Moderators: phranque
I use this rule:
RewriteRule ^/(.*)$ /index.php?$1 [L]
And this does not work either:
RewriteRule ^/(.*)$ /index.php?$1 [L, NE]
Turning it off and writing this manually works:
domain/index.php?q=bø
Using Rewrite, the URL looks like this:
domain/b%C3%B8
This is being displayed instead of 'ø' : 'bø'
This would be a correct encoding of 'ø' : '%F8'
Thanks in advance! I running out of ideas here.
This works on www.a9.com
Zyron
Welcome to WebmasterWorld!
That's strange... You might want to look into the AddDefaultCharSet [httpd.apache.org] settings in Apache core.
Also, if you have Options Multiviews enabled, but are not actually using content-negotiation, then disable that option.
Jim
Thanks for your tip!
It solved my problem.. :D
I have the script running on two servers, one with apache 2, so I test it on the other - and there it was
working perfectly.
So I was looking for that setting you mentioned, the AddDefaultCharSet setting. And turn it off.
That seems to solve the problem.
And then I had the same problem on the main page, but after a long time of debugging I found out that I was missing the correct header - so after adding this code, it was working perfectly as well:
header( 'Content-Type: text/html; charset=iso-8859-1' );
Again, thanks for your help!