Page 1 of 1

String encoding when working with assemblies

PostPosted: March 13th, 2011, 11:18 pm
by CHS@codeplex

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