Unity IL2CPP converts C# code to C++ code, but the 2 languages handle chars differently. Specifically, C# counts Russian, Chinese, Tamil, Hindi etc letters as 1 char, but C++ 1 char is always 1 byte, causing these non-English characters to take up more than 1 char. so does IL2CPP account for this?
will the following code output the same thing when built to Mono and IL2CPP?
string s = “Привет, мир”;
UnityEngine.Debug.Log(s.Length.ToString() + " " + s[7].ToString());