[20180606] How to dump the Chinese characters in the database. txt
--//link http://www.itpub.net/thread-2102613-1-2.html problem.
Like what:
Col 41: [42]
E6 a0 e5 e5 8c E4 bb B7 2f (E6) A0 e5 BC E7 A5 A8 e4
BB B7 2f e6 a0 e6 9a e4 bc b0 e4 BB B7
--//database Character set is UTF-8, how to use the idea to do the conversion to get Chinese characters?
--//Home only has Windows environment, or test to see.
1. Document creation
D:\temp>cat A1.txt
E6 a0 e5 e5 8c e4 bb B7 2f e6 a0 e5 E7 BC a5 a8 e4 b7 bb e6 2f a0 e6 e4 9a b0 bc E4 BB B7
2. Convert to a real file using Xxd:
--//Note Xxd is a tool that only displays 16 binary with vim.
D:\tools\vim\vim80\xxd-r-e2-p a1.txt > A2.txt
3. To find an editor to view Utf-8, I use Notepad to see the following:
No Contract price/no open fare/no temporary valuation
--//ok, you can see the original content.
[20180606] How to dump the Chinese characters in the database. txt