[Mediawiki-l] Web page source - "strange" characters

Frank Ralf Frank.Ralf at gmx.net
Tue Mar 23 11:14:54 UTC 2010


> In Wikipedia's "http://en.wikipedia.org/robots.txt" file,
> one can read:
> ------------------------------------------------------------------------------------------------------
> # zh:
> # https://bugzilla.wikimedia.org/show_bug.cgi?id=5104
> Disallow: /wiki/Wikipedia:åˆ é™¤æŠ•ç¥¨/侵权
> Disallow:
> /wiki/Wikipedia:%E5%88%A0%E9%99%A4%E6%8A%95%E7%A5%A8/%E4%BE%B5%E6%9D%83
> ------------------------------------------------------------------------------------------------------

As you can see from the abbreviation ZH this is Chinese text. And the encoding of the file is UTF-8. If you view the file in your browser you have to make sure it uses the correct encoding. Though you will only see the Chinese characters if you have a proper font installed on your PC.

hth
Frank




More information about the MediaWiki-l mailing list