View Single Post
  #20 (permalink)  
Old 3rd August 2020, 12:02 PM
andre andre is online now
Golden Member
 
Join Date: May 2009
Location: England
Posts: 790
iTrader: (0)
Rep Power: 1185
andre will become famous soon enoughandre will become famous soon enoughandre will become famous soon enoughandre will become famous soon enoughandre will become famous soon enoughandre will become famous soon enoughandre will become famous soon enough
Re: Interesting IDNs

Postech 포스텍: Pohang University of Science and Technology 포항공과대학교 has two IDNs, namely, http://포항공과대학교.한국 and http://포항공대.한국 The difference between the two is that the first has university in full 대학교, the second uses a common abbreviation for university which is 대.

After some experimentation I discovered that their website is language is language adaptive. If the "preferred language for displaying pages" is set to Korean then the website text is Korean. If the "preferred language for displaying pages" is set to any non Korean language then the website text will be English. Actually, I have only tested with the languages: Korean, English, Russian, Arabic, Chinese, Japanese, Tibetan and Thai. I am assuming that English will be the default for text with every non Korean language setting.

The "preferred language for displaying pages" can be set by the user in the browser preferences. One can have a priority list of preferred languages. This is passed from the browser to the server via the http header. A good server will do something with this info. Most servers ignore it. Here is a accept-language list from my Firefox ko,en;q=0.91,ko-KP;q=0.82,ko-KR;q=0.73,ru;q=0.64,ar;q=0.55,zh;q=0.45,ja;q=0.36,th;q=0.27,bo;q=0.18,en-GB;q=0.09. ko=Korean and is the most preferred and it results in http://포항공과대학교.한국 displaying Korean text. The accept-language list bo,en;q=0.91,ko;q=0.82,ko-KP;q=0.73,ko-KR;q=0.64,ru;q=0.55,ar;q=0.45,zh;q=0.36,ja;q=0.27,th;q=0.18,en-GB;q=0.09, where bo = Tibetan, will result in http://포항공과대학교.한국 displaying English text. You can view your browser accept-language list (actually Safari only sends a single language code) that is sent to the server by visiting http://ericgiguere.com/tools/http-header-viewer.html

André Schappo
Reply With Quote