String encoding when working with assemblies
Posted: March 13th, 2011, 11:18 pm
Hey,
I just noticed some strange behaviour when working with external assemblies. It seems that Phalanger is doing some weird stuff when transporting strings between the PHP app and external assemblies.
- I'm loading a file in PHP that has UTF-8 encoded special chars.
- I'm transfering this data to an external assembly.
- The assembly gets the data and seems to interpret it as ANSI encoded string.
I found an option for the config file for COM stuff but didn't get it working surely because it doesn't affects assemblies.
<set name="com.code_page" value="CP_UTF8" />
Is there an option for this?
Thanks.
Chris