chcp : CMD 창의 code page를 확인 및 설정하는 명령어


C:\>help chcp

Displays or sets the active code page number.

CHCP [nnn]

  nnn   Specifies a code page number.

Type CHCP without a parameter to display the active code page number.


예제 1) code page 확인 (949: ANSI/OEM - 한국어)

C:\>chcp

Active code page: 949

예제 2) 한국어로 code page 설정

C:\>chcp 949

Active code page: 949

예제 3) UTF-8로 code page 설정

C:\>chcp 65001

Active code page: 65001

================================================

(출처: http://en.wikipedia.org/wiki/Code_page)

IBM PC (OEM) code pages

Microsoft code page numbers for various other character encodings


반응형

+ Recent posts