Home  |  Linux  | Mysql  | PHP  | XML
From:Andrei Zmievski Date:Tue Jun 10 15:37:21 2008
Subject:Re: Unicode Transliteration & ICU
The full text transformation support is not there yet, but there is a 
simple transliteration function - str_transliterate().

-Andrei

Darren Cook wrote:
>> Does anyone know anything about transliteration in PHP6. I have noticed
>> that PHP has an ICU extension. ICU has a very comprehensive
>> transliteration/transform module that is not documented.
> 
> It is documented here:
>   http://www.icu-project.org/userguide/Transform.html
> 
> (But I don't think Transform in the PHP intl extension?)
> 
> No Arabic support, which is the transliteration code I'm working on at
> the moment (in native PHP; it'll be in the next (MIT open-source) fclib
> library release).
> 
> I'm also not sure the Japanese one will be useful, as it sounds like
> they do things slightly differently from normal Hepburn romaji to allow
> the conversions to be reversible. (which also suggests they don't
> transliterate the katakana long vowel but keep it as a hyphen??)
> 
>> Currently I am using iconv and a PLEC extension to transliterate, but
>> they area neither comprehensive or widely supported.
> 
> Which languages are you trying to transliterate for?
> 
> Darren
> 
> 
Navigate in group php.i18n at sever news.php.net
Previous Next




  
© No Copyright
You are free to use Anything
Site Maintained by PHP Developer
Powered By PHP Consultants