I have an iOS plugin for web requests. It is a library actually developed for mono.
The plugin works great with the Mono option but does not work when built with IL2CPP option.
The problem occurs when passing strings from my app to the plugin: the url generated in my app is passed to the plugin and shows as Chinese characters on the native side. As this is a third-party plugin, I can't access the source code.
I filed a bug report:
http://fogbugz.unity3d.com/default.asp?694867_1jim6k10v5vs7he8
Here is the managed declaration of the extern function:
private static extern System.IntPtr CkHttpU_QuickGetObjW(System.IntPtr pObj, string url);
[DllImport(ChilkatConst.DllPath, EntryPoint = "CkHttpU_quickGetStrW", CharSet = CharSet.Unicode)]
Does that make sense to someone? what should be changed natively to handle those strings correctly?
thanks
↧