- Home /
HTML5 target : Codepage 1252 not supported
I'm on Mac, and I have the pb of the "Codepage 1252 not supported" when executing my little application in Google Chrome. I'm using the Unity 2017 June beta in order to integrate GeometryGymIFC lib which is coded for .NET 4.6, now enable (theoretically) in this last Unity version.
Unfortunately, putting I18N.dll and I18N.West.dll in Assets does not resolve the pb for WebGL target.
Note : there are many "unity" DLL folders :
unity
unity_aot
unity_web <=== this one does not contain I18N.dll and I18N.West.dll :(
Maybe I have to choose a particular version of I18N.dll and I18N.West.dll ?...
Answer by jean-noellevels3d · Jun 03, 2017 at 11:33 AM
Solution : Add I18N.dll and I18N.West.dll (from /Applications/Unity/Unity.app/Contents/Mono/lib/mono/unity) into your Assets folder.
Then, force IL2CPP to not strip DLL code by adding this file to your Assets too :
link.xml
<linker>
<assembly fullname="I18N" preserve="all"/>
<assembly fullname="I18N.West" preserve="all"/>
</linker>
Then rebuild, and it works !