pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: PHP, iconv() and www/moodle



On Thu, Feb 02, 2012 at 01:59:18PM +0000, Stephen Borrill wrote:
> I'm trying to install Moodle 2.2.x (not from pkgsrc), but it fails
> because iconv() is deemed to be not working.
> 
> echo  "<?php echo iconv('UTF-8', 'UTF-8//IGNORE', 'abc'); ?>" | php
> 
> This should return 'abc', but returns nothing.
> 
> What's at fault here?

Just change it to use UTF-8. Our iconv behaves well.

Joerg


Home | Main Index | Thread Index | Old Index