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
|