downloads | documentation | faq | getting help | mailing lists | licenses | wiki | reporting bugs | php.net sites | links | conferences | my php.net

search for in the

자원형> <설치
Last updated: Fri, 24 Jul 2009

view this page in

실행시 설정

이 함수의 작동은 php.ini 설정에 영향을 받습니다.

Iconv 설정 옵션
이름 기본값 설정권한 변경점
iconv.input_encoding "ISO-8859-1" PHP_INI_ALL PHP 4.0.5부터 사용할 수 있습니다.
iconv.output_encoding "ISO-8859-1" PHP_INI_ALL PHP 4.0.5부터 사용할 수 있습니다.
iconv.internal_encoding "ISO-8859-1" PHP_INI_ALL PHP 4.0.5부터 사용할 수 있습니다.

PHP_INI_* 모드에 대한 상세와 정의는 환경 설정을 바꿀 수 있는 곳를 참고하십시오.

Warning

몇몇 시스템(IBM AIX 등)은 "ISO-8859-1" 대신에 "ISO8859-1"을 사용하기에, 이 값을 설정 옵션과 함수 인수로 사용합니다.

Note: 설정 옵션 iconv.input_encoding 는 현재 사용되지 않습니다.



add a note add a note User Contributed Notes
실행시 설정
Justin
18-Mar-2009 02:56
Many people report problems compiling PHP on Leopard due to a libiconv issue.

This may be due to the small C test programme in ./configure.
It calls open_conv with two const * char arguments (correct), but these are NOT valid charsets to iconv. This then breaks ./configure.

AFAIK from the libiconv documentation, the PHP configure call is incorrect: this function expects two valid charset arguments. (You can see a list of valid arguments by running iconv -l).

Changing the call to:

cd = open_conv("UTF-8","ISO-8859-1")

returns a valid iconv_t number (non-negative), and configure can then continue setting up for your Makefile compile.

자원형> <설치
Last updated: Fri, 24 Jul 2009
 
 
show source | credits | stats | sitemap | contact | advertising | mirror sites