Re: unicode support to php4

From: Date: Mon, 03 Jul 2000 23:23:15 +0000
Subject: Re: unicode support to php4
References: 1  Groups: php.i18n 
Request: Send a blank email to php-i18n+get-32@lists.php.net to get a copy of this message
Oliver, I have PHP3 working with ICU 1.4. A few of us met to discuss the issues involved. At the moment I am working with the ICU folks to firm up my design for ICU 1.5 and how to eventually integrate the changes for the ICU Apache module that I made not only for PHP but other applications as well. Once I get the new ICU design worked out I will be working with Rasmus Lerdorf and James Byers on the PHP4 design. The Apache code will probably be significantly different due to changes in ICU 1.5. I expect that the PHP4 upgrade will be much easier. In addition Rasmus is looking into the possibility of adding native Unicode data type support to PHP4. These two changes would tie together. Thus PHP4 would convert the utf-8 to ucs-2 for any string handing and manipulation. There was also some talk of wide-character regex support however regex is not designed for i18n work. My ICU extension handles such things as collation, case conversion, date, time number parsing and formatting etc. It does all those things that you need such as convert the German sharp-s to to S characters, or format yen with no fractional parts as well as give you proper Japanese date formats. It will also normalize your German so that accent separate or accent combined strings are normalize to the same value. In can compare just the letters, letters with accents (in reverse order for French), and case sensitive or exact normalized. This is just the tip of the iceberg but this will provide heavy duty i18n support. Much more than just utf-8 string handling. Carl "Oliver Fuerniss" <oliver.fuerniss@inubit.com> wrote in message news:00063012101401.01047@verleihnix... > hello! > in our b2b-marketplaces we need multi-language support for php4. on linux we > created an oracle 8i database with an utf-8 character set. > to write any language strings (German, English, Japanese, ...) into the database > we have to convert it with the php-functions utf8_encode(...) and after > selecting it with utf_decode(...). this is an overhead. i think, it would be > great if the php4-engine could work internaly (string-handling, regex,.. )with > unicode utf-8! > > so, i am interested in the status of the uncicode support to php4. i think > Carl. W. Brown and James Byers are working on it? > > Thanks, > Oliver > > -- > PHP Internationalization Mailing List (http://www.php.net/) > To unsubscribe, e-mail: php-i18n-unsubscribe@lists.php.net > For additional commands, e-mail: php-i18n-help@lists.php.net > To contact the list administrators, e-mail: php-list-admin@lists.php.net >

« previous php.i18n (#32) next »