I have some text files that're encoded by different character encodings, such as `ascii`, `utf-8`, `big5`, `gb2312`.

Now I want to know their accurate character encodings to view them with an text editor, otherwise, they will present garbled characters.

I searched online and found `file` command could [display the character encoding of a file](https://www.shellhacks.com/linux-check-change-file-encoding/), like:

```
$ file -bi *
text/plain; charset=iso-8859-1
text/plain; charset=us-ascii
text/plain; charset=iso-8859-1
text/plain; charset=utf-8

```

Unfortunately, files encoded with `big5` and `gb2312` both present `charset=iso-8859-1`, so I still couldn't make a distinction.
Is there a better way to check character encoding of a text file?