Notepad++ can recognize encoding?

前端 未结 3 856
半阙折子戏
半阙折子戏 2020-12-06 10:34

I created file with UTF-8 encoded content (using PHP fputcsv).

When I open this file in Notepad++ - characters are wrong (Notepad++ starts with ANSI encoding).

3条回答
  •  一个人的身影
    2020-12-06 11:11

    You have to check the lower right corner of the Notepad++ GUI to see the actual enconding that is being used. The problem it's not that Notepad++ specific because guessing the right encoding is a big problem without any real solution so it's better to let the user decide what is the most appropriate encoding in each single case.

提交回复
热议问题