Skip to content

Commit

Permalink
Changed the settings file reading mode to utf-8.
Browse files Browse the repository at this point in the history
  • Loading branch information
alur committed Sep 2, 2014
1 parent 9e7812e commit aa27bb0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lsapi/SettingsFileParser.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ void FileParser::ParseFile(LPCTSTR ptzFileName)
return;
}

_tfopen_s(&m_phFile, m_tzFullPath, _T("r"));
_tfopen_s(&m_phFile, m_tzFullPath, _T("rt, ccs=UTF-8"));

if (nullptr == m_phFile)
{
Expand Down

0 comments on commit aa27bb0

Please sign in to comment.