Replaced all locale str with ".UTF-8" to ".utf8"