[PHP] Charset/language request headers

2002-07-06 Thread Alberto Serra
ðÒÉ×ÅÔ! I am not too familiar with the way language and charset requests are coupled by browsers. After processing the headers I get this two arrays (based on my personal Mozilla settings). charset - Array ( [0] = KOI8-R [1] = utf-8 [2] = * ) language - Array ( [0] = ru [1] = en [2] = fr [3]

[PHP] Charset/language request headers. Yes, it's true :(

2002-07-06 Thread Alberto Serra
ðÒÉ×ÅÔ! Doing multiligual sites presumes you can somehow understand what the client expects from you. Browsers all are full of language settings, but... The HTTP specification is very little language negotiation oriented in itself (this is probably a consequence of its having started out in