On 10/10/2010 12:13 AM, Michael Felt wrote:
> I think it is a bug, but it might also be a misunderstanding.
> 
> Background: I am trying to convert Joomla 1.0.X to 1.5.X and ran into 
> problems with the conversion of the database that is done during the 
> migration. I started out by doing several of the tests/samples in the 
> php manuals, but always got blank results. I tried changing the php.ini 
> settings:
> [iconv]
> iconv.input_encoding = ISO8859-1
> iconv.internal_encoding = ISO8859-1
> iconv.output_encoding = ISO8859-1

Well, yes, it's a known problem that AIX contains it's very own version of 
iconv.
At least it differs from everything else I've seen so far (in terms of encoding 
names and functionality).
 
> #else
>          REGISTER_STRING_CONSTANT("ICONV_IMPL", "unknown", CONST_CS | 
> CONST_PERSISTENT);
> #endif
>          REGISTER_STRING_CONSTANT("ICONV_VERSION", version, CONST_CS | 
> CONST_PERSISTENT);
> 
> It seems my system is being configured, but under #else - "unknown".

Probably "ibm" might be better, but it doesn't change much..

> I did some digging in configure. Once configures finds iconv (PHP 
> version 5.2.13 line numbers!)

You should look into ext/iconv/config.m4 instead.
./configure is generated and it's not supposed to be read.

Also I'd suggest you to try 5.3 branch, I can see that AIX iconv support exists 
only there.

-- 
Wbr,
Antony Dovgal
---
http://pinba.org - realtime statistics for PHP

-- 
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to