hotfix for 0.9

Fixed a charset issue, wchar_t is string character as encoded in UCS2 in
MinGW.