You are here: Re: How is HTTP_ACCEPT_LANGUAGE header interpreted? « PHP Programming Language « IT news, forums, messages
Re: How is HTTP_ACCEPT_LANGUAGE header interpreted?

Posted by Michael Fesser on 06/02/07 10:33

..oO(RvT)

>I have an interesting problem. I have FireFox2, IE7 and Opera9 as test
>browsers. All browsers are in Dutch. When I execute the following:
>
><?=$_SERVER["HTTP_ACCEPT_LANGUAGE"]?>
>
>The result is as follows:
>
>FireFox: nl,en-us;q=0.7,en;q=0.3
>Opera: nl-NL,nl;q=0.9,en;q=0.8
>
>and then:
>
>IE: es-us (!!!!!!)
>
>I mean, how in earth does the Dutch version of IE claims that Spanish
>is the preferential language? I live in South America, so my regional
>settings in the configuration panel of XP is set to Spanish(Peru), but
>I cannot find the reason why IE would look to that setting.

Check your internet options to set the preferred language(s) for IE.

>Anyone here to explain me why IE handles this very simple routine in a
>different way than Opera and FireFox?

Because the configuration is different. Every browser has to be
configured properly to send correct ACCEPT headers.

Micha

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация