ASPN ActiveState Programmer Network
ActiveState
/ Home / Perl / PHP / Python / Tcl / XSLT /
/ Safari / My ASPN /
Cookbooks | Documentation | Mailing Lists | Modules | News Feeds | Products | User Groups


Recent Messages
List Archives
About the List
List Leaders
Subscription Options

View Subscriptions
Help

View by Topic
ActiveState
.NET Framework
Open Source
Perl
PHP
Python
Tcl
Web Services
XML & XSLT

View by Category
Database
General
SOAP
System Administration
Tools
User Interfaces
Web Programming
XML Programming


MyASPN >> Mail Archive >> php-i18n
php-i18n
Re: [PHP-I18N] Encoding detection
by Gustav Foseid other posts by this author
Mar 19 2001 8:15AM messages near this date
Re: [PHP-I18N] Encoding detection | [PHP-I18N] Website, Design, hosting and maintenance for only $999.00 per year
Atanas Vassilev:
>  I need a way to detect default browser encoding so that i can set a
>  variable for language and present the whole site in different
>  languages based on encoding. I know encoding does not determine
>  language but I only have to switch between german and bulgarian so in
>  my case encoding will do the trick... of course if I knew a way to get
>  the encoding of the user's browser...

You have the information you need in $HTTP_ACCEPT_CHARSET.

-- 
Gustav Foseid, Initio IT-løsninger AS
gustavf@[...].no

-- 
PHP Internationalization Mailing List (http://www.php.net/)
To unsubscribe, e-mail: php-i18n-unsubscribe@[...].net
For additional commands, e-mail: php-i18n-help@[...].net
To contact the list administrators, e-mail: php-list-admin@lists.php.net
Thread:
Atanas Vassilev
Atanas Vassilev
Atanas Vassilev
Gustav Foseid
Gustav Foseid

Privacy Policy | Email Opt-out | Feedback | Syndication
© ActiveState Software Inc. All rights reserved