Forum Moderators: phranque

Message Too Old, No Replies

Rewriting ugly codes of special characters in urls

How to turn %C3%A4 into a single character

         

spjarv

8:02 am on Apr 18, 2007 (gmt 0)

10+ Year Member




Hello. The pages on a server I work on are generated by wikimedia. Country-specific exotic characters work fine when you type the name of the page. When you move into that page, the same characters in url is converted to look like %C3%A4 etc. Is there a way to rewrite that url for users without affecting the function of the page? Since the pages can already be found when written as a part of url in their correct form, I don't think it'd be hazardous.

Also, there might be multiple instances of the same character in the url. Any chance someone could help me out with a rewrite code to add to .htaccess to fix them? Help'd be much appreciated.

-Sami