IDEA-122861 IDE fails to open HTML files on a system with Turkish locale
(cherry picked from commit a02159e) (r=Dennis.Ushakov)