String encoding when working with assemblies

Discussion about the open-source Phalanger [?] project.

String encoding when working with assemblies

Postby CHS@codeplex » 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

CHS@codeplex
 
Posts: 8
Joined: January 7th, 2012, 8:38 pm

Return to Phalanger project

Who is online

Users browsing this forum: No registered users and 13 guests

cron

User Control Panel

Login

Who is online

In total there are 13 users online :: 0 registered, 0 hidden and 13 guests (based on users active over the past 5 minutes)
Most users ever online was 256 on March 28th, 2024, 9:42 am

Users browsing this forum: No registered users and 13 guests