Fix a problem that was introduced in b41740f. If the IMC string is UTF-8, we should read it like that.
This issue only was present in Windows.
Merge branch 'issue/win-loading-utf8-problem'