diff --git a/stepmania/src/IniFile.cpp b/stepmania/src/IniFile.cpp index 5a69d5835c..5239b105b3 100644 --- a/stepmania/src/IniFile.cpp +++ b/stepmania/src/IniFile.cpp @@ -30,15 +30,7 @@ bool IniFile::ReadFile( const CString &sPath ) return true; /* eof */ } - if( line.size() >= 3 && - line[0] == '\xef' && - line[1] == '\xbb' && - line[2] == '\xbf' - ) - { - /* Obnoxious NT marker for UTF-8. Remove it. */ - line.erase(0, 3); - } + utf8_remove_bom( line ); if( line == "" ) continue;