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



--
PHP Unicode & I18N Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to