Wchar syntax errors and EOL format