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 Atanas Vassilev other posts by this author
Mar 20 2001 11:15AM messages near this date
[PHP-I18N] Encoding detection | Re: [PHP-I18N] Encoding detection
You've been quite helpful for which I thank you very much!
I found an article in phpbuilder.com introducing NCTLS - a class that checks
the preferred languages and looks for a language file untill it finds a
match - now I have it up and running ;-)

There's one more issue that bothers me... :
On my site I have to use both german umlauts (ü for example) and
cyrillic (windows-1251) charset - IE handles them perfectly but NS either
shows windows-1251 chars correctly (when you switch to that encoding of
course) or umlauts, but only if the encoding is iso-88591 in which case I
loose the cyrillic symbols.
What can I do about this?



Gustav Foseid <gustavf@[...].no>  wrote in message
news:20010319133121.A29618@[...]..
>  Atanas Vassilev:
>  > I formed my include like this:
>  > include "lang_".$HTTP_ACCEPT_LANGUAGE.".INC";
> 
>  This will not work properly. Firts of all, youmight get a request from
>  someone having another language set in their preferences. You can also
have
>  more than one language set, in my requests HTTP_ACCEPT_LANGUAGE is set to
>  "no, en, sv".
> 
>  --
>  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@[...].net
> 



-- 
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