Fixed platform specific encoding warning