To kill the curosity right here....
"Bidirectional" here means the merging of langauages that read from Left to Right (English, French, Spanish etc) with some Native languages that are read from Right to Left, (Arabic, Farsi, Urdu etc).
Problem arises where L2R sub-strings are inserted in R2L string or vice versa.
Like an arabic sub-string in an enlish text. Suppose the lower case is english and upper case in urdu, a bidirectional string may look like.
i drive my CAR daily
but it should not look like this, as CAR should be from L2R in display and in selection.
i drive my RAC daily
--
If you have read this far I am sure this is the topic you are looking for.
Continue your reading here http://fribidi.sourceforge.net/
XLIV. FriBiDi 関数
導入
FriBiDiは、Unicode Bidirectional Algorithm のフリーの実装です。
要件
FriBiDiパッケージ を ダウンロードし、インストールする必要があります。
インストール手順
この PECL 拡張 モジュールは PHP にバンドルされていません。 この PECL 拡張モジュールをインストールする方法は、 マニュアルの PECL 拡張モジュールのインストール という章にあります。 新規リリース・ダウンロード・ソースファイル・管理者情報・CHANGELOG といった関連する情報については、次の場所にあります。 http://pecl.php.net/package/fribidi.
これらの関数を使用するには、 --with-fribidi[=DIR] を指定し、 Fribidi のサポートを有効にして PHP をコンパイルしてください。
Windows ユーザは、php.ini の内部で php_fribidi.dll を有効にすることで、これらの関数を使用可能です。 この PECL 拡張モジュール の DLL を PHP ダウンロード ページ または http://snaps.php.net/ からダウンロードできます。
- 目次
- fribidi_log2vis -- 論理文字列を可視文字列に変換する
webKami [at] akdomains.com
01-Apr-2005 12:58
