The solution of using the Sqlite3 command to use the Chinese characters in DOS command

Source: Internet
Author: User

The Windows CMD window cannot display Chinese, not necessarily garbled in the database--most of the cases just display the problem and can be resolved in the following ways:

1. Exit DOS or reopen in cmd window, lose:chcp 65001 then enter OK

Note: 65001 is the encoding of Unicode (UTF-8) 65001.

2, right-click on the command line title bar, select "Properties"-"Font", the font will be modified to "Lucida Console" OK (this font looks good, not necessary). Select the current window is valid or applies to all Windows

After the completion of the command to enter the Sqlite3,select to contain Chinese records, garbled solved.

Postscript:

If you want to restore back to the English or original Chinese Simplified (GB2312|GBK) encoding, the same type of encoding commands, the font can be adjusted according to their preferences.

chcp 65001 #换成utf-8 code page chcp 936 #换成默认的gbk chcp 437 #美国英语

The solution of using the Sqlite3 command to use the Chinese characters in DOS command

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.