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/
FriBiDi Functions
소개
FriBiDi is a free implementation of the » Unicode Bidirectional Algorithm.
요구 조건
You must download and install the » FriBiDi package.
설치
이 » PECL 확장은 PHP 배포판에서 제공하지 않습니다. PECL 확장 설치에 관한 정보는 매뉴얼의 PECL 확장 설치에 있습니다. 새 릴리즈, 내려받기, 소스파일, 개발자 정보, CHANGELOG 등의 추가 정보는 여기에 있습니다: » http://pecl.php.net/package/fribidi.
In order to use these functions you must compile PHP with Fribidi support by using the --with-fribidi[=DIR] configure option.
Windows users will enable php_fribidi.dll inside of php.ini in order to use these functions. PECL 확장 DLL은 » PHP 내려받기 페이지나 » http://pecl4win.php.net/에서 받을 수 있습니다.
실행시 설정
자원형
이 확장은 리소스형을 정의하지 않습니다.
예약 상수
이 확장은 다음의 상수들을 정의합니다. 이 확장을 PHP에 내장했거나, 실행시에 동적으로 읽어들일 경우에만 사용할 수 있습니다.
- FRIBIDI_CHARSET_UTF8 (integer)
- Unicode
- FRIBIDI_CHARSET_8859_6 (integer)
- Arabic
- FRIBIDI_CHARSET_8859_8 (integer)
- Hebrew
- FRIBIDI_CHARSET_CP1255 (integer)
- Hebrew/Yiddish
- FRIBIDI_CHARSET_CP1256 (integer)
- Arabic
- FRIBIDI_CHARSET_ISIRI_3342 (integer)
- Persian
- FRIBIDI_CHARSET_CAP_RTL (integer)
- Used for test purposes, will treat CAPS as non-English letters
- FRIBIDI_RTL (integer)
- Right to left
- FRIBIDI_LTR (integer)
- Left to right
- FRIBIDI_AUTO (integer)
- Autodetect the base direction
FriBiDi
webKami [at] akdomains.com
01-Apr-2005 12:58
01-Apr-2005 12:58
