I have a file called `test.txt` which contains a single Chinese character, `中`, in it.

This character looks like this 

[![enter image description here](https://i.stack.imgur.com/Ukfpu.png)](https://i.stack.imgur.com/Ukfpu.png)

under hex-editor's view.

If I do `get-content test.txt | Out-File test_output.txt`, the content of `test_output.txt` is different from `test.txt`. Why is this hapenning?

I've tried all the encoding parameters listed [here](https://msdn.microsoft.com/en-us/powershell/reference/4.0/microsoft.powershell.utility/out-file#-encoding) ("Unicode", "UTF7", "UTF8", "UTF32", "ASCII", "BigEndianUnicode", "Default", and "OEM"), but none of them correctly converts the Chinese character.

How can I correctly convert Chinese characters using `Get-Content` and `Out-File`?

The encoding, `e4 b8 ad`, looks like [URLencode](http://www.url-encode-decode.com/) of `中`, is this why all the encoding parameters are not compatible with this Chinese character?

I use [Notepad++](https://notepad-plus-plus.org/) and Notepad++'s [hex-editor plugin](https://sourceforge.net/projects/npp-plugins/files/Hex%20Editor/) as my text-editor and hex-editor, respectively.