«Cmd codepage» и «Golang - библиотека начинающего»: разница между страницами

Материал из support.qbpro.ru
(Различия между страницами)
imported>Vix
Нет описания правки
 
imported>Vix
(Новая страница: «'''ПОЛЕЗНОЕ:''' <hr> * [https://golangs.org/ Уроки для изучения Golang] * [https://metanit.com/go/tutorial/2.11.php Функции и их...»)
 
Строка 1: Строка 1:
[https://www.microsoft.com/resources/documentation/windows/xp/all/proddocs/en-us/chcp.mspx?mfr=true Взято тут]
'''ПОЛЕЗНОЕ:'''
 
<hr>
'''Chcp'''
* [https://golangs.org/ Уроки для изучения Golang]
Displays 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.
* [https://metanit.com/go/tutorial/2.11.php Функции и их параметры]
'''Syntax'''
* [https://www.ibm.com/developerworks/ru/library/l-go_01/ Язык программирования go]
chcp [nnn]
* [https://tproger.ru/translations/golang-basics/ Golang: основы для начинающих]
Top of pageTop of page
* [http://golang-book.ru/ Введение в программирование на Go]
'''Parameters'''
* [https://medium.com/golang-notes/%D0%BD%D0%B0%D1%81%D1%82%D1%80%D0%BE%D0%B9%D0%BA%D0%B0-visual-studio-code-%D0%B4%D0%BB%D1%8F-go-647ea94aa795 Настройка Visual Studio Code для Go]
nnn : Specifies the code page. The following table lists each code page supported and its country/region or language:
* [https://serverspace.by/support/help/ustanovka-go-na-windows-server/ Установка GoLang на Windows Server]
'''Code page Country/region or language'''
* [https://otus.ru/nest/post/1015/ GOPATH и GOROOT больше не нужны?]
437
* [https://nuancesprog.ru/p/5966/ Идеальная настройка вашего Golang проекта]
United States
* [https://habr.com/ru/post/249449/ Кросс-компиляция в Go]
850
* [https://gobyexample.com/ Go by Example]
Multilingual (Latin I)
* [https://golang.org/pkg/ Golang Packages]
852
Slavic (Latin II)
855
Cyrillic (Russian)
857
Turkish
860
Portuguese
861
Icelandic
863
Canadian-French
865
Nordic
866
Russian
869
Modern Greek
/? : Displays help at the command prompt.
Top of pageTop of page
'''Remarks'''
Only the original equipment manufacturer (OEM) code page installed with Windows XP appears correctly in a command prompt window that uses Raster fonts. Other code pages appear correctly in full-screen mode or command prompt windows that use TrueType fonts.
You do not need to prepare code pages, as in MS-DOS.
Programs that you start after you assign a new code page use the new code page, however, programs (except Cmd.exe) that you started before assigning the new code page use the original code page.
Top of pageTop of page
'''Examples'''
To view the active code page setting, type:
chcp
A message similar to the following appears:
Active code page: 437
To change the active code page to 850 (Multilingual), type:
chcp 850
If the specified code page is invalid, the following error message appears:
Invalid code page
Top of pageTop of page
Formatting legend
Format Meaning
Italic
Information that the user must supply
Bold
Elements that the user must type exactly as shown
Ellipsis (...)
Parameter that can be repeated several times in a command line
Between brackets ([])
Optional items
Between braces ({}); choices separated by pipe (|). Example: {even|odd}
Set of choices from which the user must choose only one
Courier font
Code or program output
Country
Device
Devicehigh
Mode
Command-line reference A-Z
 
Top of pageTop of page
 
 
Manage Your Profile |Legal |Contact Us
© 2015 Microsoft Corporation. All rights reserved. Contact Us |Terms of Use |Trademarks |Privacy & Cookies

Версия от 09:13, 18 августа 2020