Workbench seems to prefer whatever character encoding is default in windows. But I’m unable to find any way to switch its embedded scintilla editor component to use unicode. Is it possible to switch editor into UTF-8? Thanks.
Putting this line at the top of the file should force Scintilla into UTF-8 mode, but doesn’t:
#charset "utf-8" // coding: utf-8
It works properly in SciTE, so it could be that the Scintilla DLL gets called in a way that disables wide char support.
EDIT: No, I’m wrong. It looks like that sequence is implemented by the SciTE application rather than the Scintilla library, so of course it wouldn’t do anything in Workbench as it stands.