On 09 Mar 2001 18:31:07 +0100
Ondrej Sury <[EMAIL PROTECTED]> 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 <[EMAIL PROTECTED]>
maintainer of japanese PHP manual <[EMAIL PROTECTED]>

-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to