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 :frowning:

Maybe I have to choose a particular version of I18N.dll and I18N.West.dll ?..

Solution :
Add I18N.dll and I18N.West.dll (from /Applications/Unity/ into your Assets folder.

Then, force IL2CPP to not strip DLL code by adding this file to your Assets too :


     <assembly fullname="I18N" preserve="all"/>
     <assembly fullname="I18N.West" preserve="all"/>

Then rebuild, and it works !