Fixed wide character warnings after removing encoding module.