Page 1 of 1

iconv () not supported.

PostPosted: June 25th, 2014, 7:16 pm
by Acuna
Hello!

I have installed the Phalanger 3.0. All works fine, but iconv () is not supported. My programs are fall down when I'm using it.

And I have the iconv.dll in Extensions folder.

What it can be? Thanks a lot!

Re: iconv () not supported.

PostPosted: June 27th, 2014, 5:46 pm
by Acuna
Hello, Acuna.

You should add the wrapper for iconv.
Just create the app.config in your ready app target, then add this code to it:

Code: Select all
<?xml version="1.0" encoding="utf-8" ?>
<configuration>
  <phpNet>
    <classLibrary>
      <add assembly="php_iconv.mng, Version=3.0.0.0, Culture=neutral, PublicKeyToken=4ef6ed87c53048a3" section="iconv" />
    </classLibrary>
  </phpNet>
</configuration>

or create the file app.config in your Phalanger dir and compile your programs with /config:"%PROGRAMFILES%\Phalanger 3.0\app.config" key.

Re: iconv () not supported.

PostPosted: June 27th, 2014, 5:47 pm
by Acuna
Thanks, Acuna! All working fine!

Re: iconv () not supported.

PostPosted: June 27th, 2014, 5:47 pm
by Acuna
You're welcome! ;)