Re: [PHP-DEV] multiple charsets status for PHP From: Stanislav Malyshev (stas <email protected>)
Date: 10/31/00

>> could anyone point me in the direction of what the current status of
>> support is within PHP (internally ie. engine, and externally ie. any
>> extensions) for multiple charsets.

PHP is internally mostly charset-invariant, though all language terms are
based on iso-8859-1 (i.e., it'd be probably hard to have chineese variable
names). However, you can store whatever text you like in variables. As for
string function, most of them depend on underlying C library.

Also, PHP has module for interfacing GNU recode, which allows you to
convert characters between most known charsets (given that conversion
exists, of course - you probably cannot convert russian to chineese).

>> also, if anyone has had the chance to develop a site with support for more
>> than one language using PHP, i'd really like to hear about your
>> experiences.

Well, I did, but I didn't have any issues with that - PHP basically took
data from DB or user input, displayed it on screen, and that's it. Who
cares what language or charset, if any, was it?

-- 
Stanislav Malyshev, Zend Products Engineer   
stas <email protected>  http://www.zend.com/ +972-3-6139665 ext.106

-- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: php-dev-unsubscribe <email protected> For additional commands, e-mail: php-dev-help <email protected> To contact the list administrators, e-mail: php-list-admin <email protected>