This is a created
article in which the information may have evolved or changed.
Install under Windows:Package Download Path: http://golangtc.com/downloadDOS execution required before useSet goroot=Set Goos=mingwSet goarch=386Set Path=/bin
Compiling the execution of the Test.go file requires execution8g Test.go//Compile build Test.88l Test.8//Connection Generation 8.exe8//Execute 8.exe
Example
Package MainImport "FMT"Func Main () {Fmt. Print ("Hello, world\n")}
Chinese support needs to ensu
Power ShellNote: The following content is written on a non-Windows platform, there may be spelling errors, if any, please correct me, I will amend as soon as possible. It can be implemented using the PowerShell configuration file (\ Profile). \)The profile default file does not exist and needs to be created. New-item $PROFILE-itemtype File-forceA PS1 file is generated under the document that is loaded when the PowerShell is started. Add a sentence in this configuration file: [System.console]::ou
Language settings for Windows cmd Command Prompt window (Chinese-English)Listen to the Voice
|
Browse:2075
|
Updated: 2017-08-03 16:50
|
Tags:windows
1
2
3
4
Step through ReadingChinese and English toggle method under command letterMethod/Step
Open cmd Command Prompt windowInput CHCP 936Using the ping commandShow Chinese
2SameInput CHCP
CMD is a command-line tool that comes with the Windows operating system, and by default uses the ANSI character set, which does not display correctly for content such as UTF-8 encoding, which requires a set of CMD characters.The CMD interface configuration supports only two sets of characters: ANSI and Latin.It is clear that the interface configuration cannot be set for the purpose, using the command chcp settings.CHCP setting Character Set steps (tak
default is followed by the system encoding, such as Simplified Chinese windows its cmd default is cp936 (equivalent to GBK) encoding, this encoding can be made permanent changes through the registry, or the use of "chcp xxx" command temporarily changed , where xxx is the code number, 936 equivalent to gbk,65001 equivalent to Utf-8At the beginning of cmd input chcp 65,001 back to the car, the cmd window bec
windows is gbk, or it is better to use the UTF-8 encoding, so it is not easy to appear garbled problem. Okay, I changed the file format to UTF-8 encoding for saving. Write the batch processing command, and try the effect first. There is no problem with enabling or stopping the relevant service, but the log records are garbled, and the logs are sweaty. First of all, I think of the dos output is the default encoding system (gbk), my file is written in UTF-8, will certainly be garbled. The idea at
is called inner code table 437 or MS-doslatinus ), the new font can be displayed only when the codePage value is 437;
Method 1: doscommand chcp, for example: chcp 437
Method 2: HKEY_CURRENT_USER \ console \ unzip systemroot1__system32_cmd.exe. Modify the value of the binary codePage to decimal 437 (1b5 in hexadecimal notation). Modify the string value facename to set the default font.
3> shut down the regi
Display Mechanism
The main factors that affect the graph font of DB2 are the current language code page, database character set, installed font and font configuration file.
1. Language code page:
The language code page is the current language environment, used in Linux and UNIX environments. profile file configuration. To view the Active code page settings in Windows, type: chcp and a message similar to the following is disp
BACKUP
Disk File dump
Backup c::
BREAK
DOS interrupt Switch
Break on, BREAK OFF
CHCP
Change Country Code
CHCP 863
CHDIR
Change current directory
CD
CHKDSK
Disk status check
Chkdsk a:> STATUS
CLS
Clear display screen
CLS
COMMAND
Load command Handler
COMMAND
COMP
Disk File comparison
Comp c
This is because conime.exe is not mounted to command.exe.ProgramSo we should first determine that this program is available under system32:Cd % SystemRoot % \ system32C: \ windows \ system32> dir | findstr "conime"27,648 conime.exeThe above results show that the program exists. Of course, you can also enter the program name directly in the running process.Then we modify the registry:Set the value of HKEY_CURRENT_USER \ Console (console) \ loadconime to 1, so that you can enter Chinese Characters
follows the system encoding by default. for example, for windows in simplified Chinese, cmd uses cp936 (equivalent to gbk) encoding by default, this encoding can be changed permanently through the registry, or temporarily using the "chcp xxx" command, where xxx is the encoding number, 936 is equivalent to gbk, 65001 is equivalent to UTF-8 At the beginning of cmd, enter chcp 65001 and press Enter. the cmd w
the run will be garbled.The solution is also very simple, is to let them code consistent on it.1. Change the cmd code to Utf-8Use the CHCP command to view the current character set, which is 936 by default, and you can use CHCP 65001 to modify the character set to Utf-8However, it seems to be only valid for the currently open window, one troublesome way is to run the system in each code to toggle the chara
The previous article mentioned in the Python code to always do error, is not the problem of their own code, the original is win10 problem, Windows engaged in development really need a lot of patience, interested can refer to this to deal with: Python3 met Win10 PitThis time again encountered PIP installation package report OSError, how to deal with it?
PIP Install requestsOserror:raw write () returned invalid length 134 (should has been between 0 and 92)
Actually also simple, a com
Recently need to remove the duplicate content, so I thought of using bat or VBS implementation, did not expect to have been written on the internet, testing is just learning
How to: Drag the text onto the batch process ...
@echo
off:: Code by oicu#lsxk.org 2007/11/29
rem chcp 437>nul
:: See Use, UTF-8 encoded files can not be less chcp command, generally no use, :
: But utf-16 files are not suppor
ChcpDisplays the number of the active console code page, or changes the console ' s active console code page. Used without parameters, CHCP displays the number of the active console code page.Syntaxchcp [nnn]ParametersNnn:specifies the code page. The following table lists each code page supported and its country/region or language:Code page country/region or language437 United States850 multilingual (Latin I)852 Slavic (Latin II)855 Cyrillic (Russian)
We know that Oracle Client language support can be done through the setting of the Nls_lang parameter, and the settings for Nls_lang parameters vary from system platforms. In this article, we first introduce the composition of the Nls_lang parameters, and then introduce the Oracle client Nls_lang parameters on the Windows Platform and UNIX platform settings, now we start to introduce this part of the content.
1. Nls_lang parameter composition
The Nls_lang parameters are composed of the following
Description:
1, if the command can not run, please add chcp 437, or the cmd window to modify the properties of 437;
2, the bat can not be similar to schtasks name, and the bat directory also can not protect schtasks files such as, otherwise it may be the cycle of execution schtasks;
@echo off
NET use \\192.168.5.5\IPC$ "Luke"/user: "Administrator" for/f "Tokens=7 delims="%%a in (' Net time \\192.168.5.5 ') do (set Dsttime=%%a) (Goto:next): Next Ech
Label: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 OKNote: 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 a
One, SECURECRT settings display input chineseSECURECRT is a CentOS system connected to Linux. Virtual machines. found that Chinese characters input and display are garbled.First in the SECURECRT, the Appearance-"window-" is set to, the new song body, the Chinese GB2312. Discovery can display Chinese, but still cannot enter Chinese.Then you need to hit the following commandExport lang=zh_cn. GBKThe settings in the above securecrt are done. Disconnect the connection again and find out.Meanwhile,
Method One:This is related to the Activity Console code page.If you want to change to UTF-8, you need to run the CHCP command: chcp 65001Sometimes the newly installed system may show confusion when running some Chinese software, and you can manage this behavior by modifying the system area from the Control Panel: Control Panel-regions and Languages-Administration tab, change the language of non-Unicode prog
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.