Page 1 of 1

Encoding functions ?

PostPosted: January 6th, 2013, 9:54 am
by kerlo60
Hello,

I'm trying to convert a utf-8 string to iso but utf8_decode or utf8_encode functions does not exists. I'm working in a console application.

How can I use these functions in my program with Phalanger ?

Re: Encoding functions ?

PostPosted: January 6th, 2013, 5:02 pm
by Jakub Misek
Hi,

these functions are a part of XML extension. For now, you can use native PHP extension by adding following into your .config file:
<add assembly="php_xml.mng, Version=3.0.0.0, Culture=neutral, PublicKeyToken=4ef6ed87c53048a3" />
and note it can run in 32bit only. In future update, there will be 64bit version of this extension.

Thanks,