Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm trying to create a rule using Chinese characters

#RewriteRule ^zh(.*) /中文版$1 [L,R=301]

creates error 500 when i change the file to UTF-8

#RewriteRule ^zh(.*) /%E4%B8%AD%E6%96%87%E7%89%88$1 [L,R=301]

redirects to /%25E4%25B8%25AD%25E6%2596%2587%25E7%2589%2588 (basically replacing % with %25)

Anybody familiar with this problem?

share|improve this question
There is a typo in the title – Tie-fighter Apr 8 '10 at 8:26

There is a whole page dedicated to this issue including solutions: (fyi-noi: Google "apache escape" -> 6th hit)

share|improve this answer
similar but not same problem, meaning It's about the Chinese characters. I don't really want all these %percentage signs – Moak Apr 8 '10 at 11:09
up vote 1 down vote accepted

Using notepad I changed the encoding to "ANSI as UTF-8", rather than UTF-8. This made everything work as expected.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.