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

search for in the

Tipos de recursos> <Instalación
[edit] Last updated: Fri, 24 May 2013

view this page in

Configuración en tiempo de ejecución

El comportamiento de estas funciones se ve afectado por la configuración de php.ini.

Iconv Opciones de configuración
Nombre Por defecto Cambiable Historial de cambios
iconv.input_encoding "ISO-8859-1" PHP_INI_ALL Disponible desde PHP 4.0.5.
iconv.output_encoding "ISO-8859-1" PHP_INI_ALL Disponible desde PHP 4.0.5.
iconv.internal_encoding "ISO-8859-1" PHP_INI_ALL Disponible desde PHP 4.0.5.

He aquí una breve explicación de las directivas de configuración.

Advertencia

Algunos sistemas (como IBM AIX) usa "ISO8859-1" en vez de "ISO-8859-1" así que este valor debe usarse en las opciones de configuración y en los parámetros de las funciones.

iconv.input_encoding string

Actualmente esta opción no se utiliza.

iconv.output_encoding string

iconv.internal_encoding string



add a note add a note User Contributed Notes Configuración en tiempo de ejecución - [1 notes]
up
0
Justin
4 years ago
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.

 
show source | credits | sitemap | contact | advertising | mirror sites