[20180606] How to dump the Chinese characters in the database. txt

Source: Internet
Author: User

[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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.