Re: iconv patch...

From: Date: Sat, 10 Mar 2001 03:00:43 +0000
Subject: Re: iconv patch...
References: 1  Groups: php.dev 
Request: Send a blank email to php-dev+get-48559@lists.php.net to get a copy of this message
On 09 Mar 2001 18:31:07 +0100 Ondrej Sury <sury.ondrej@globe.cz> wrote: > > I think that UTF-8 is better choice as default encoding ;-) And because I > couldn't compile this module, I have added php_iconv_init_globals and put > it in ZEND_INIT_MODULE_GLOBALS. (I have inspired by mysql module, so this > shouldn't be neccessary correct.) I personaly agree with your choice because I am using multibyte encoding (japanese) as my native language. But some other modules like ext/xml are using ISO-8859-1 as default encoding now. You can easily change these encoding settings using php.ini as follows, [iconv] iconv.internal_encoding = "UTF-8" iconv.output_encoding = "UTF-8" The iconv.input_encoding encoding has no meaning now. I have a plan to add encoding translation capability between input encoding and internal encoding in http input (POST/GET/Cookie) parser. -- ---------------------------------------------------------- Rui Hirokawa <louis@cityfujisawa.ne.jp> maintainer of japanese PHP manual <hirokawa@php.net>

« previous php.dev (#48559) next »