I am finishing testing a desktop app and thought I’d try using some random Chinese characters (from Apple.cn). I am performing an ExecuteJavaScript on an HTMLViewer. I have pre-defined the command string as UTF8.
It all works fine with the Chinese characters when run as 32-bit, but crashes when 64-bit. I thought it might be the 64-bit Split-bug, so I am using the Split() bug workaround no crash there. The crash happens every time in the ExecuteJavaScript command when run as 64-bit.
Do I need to encode the Chinese characters before performing the ExecuteJavaScript? If so, how?