태그 보관물: unicode

unicode

Mac에서 코딩 시스템 utf-8-어느 것이 왜 기본인가요? utf-8-dos utf-8-emacs

기본 인코딩 시스템을 정의되지 않은 것에서 UTF-8로 변경하고 싶습니다 (유용하다고 생각합니다). 이제 많은 다른 UTF-8 코딩 시스템을 보았습니다.

mule-utf-8        mule-utf-8-dos
mule-utf-8-mac    mule-utf-8-unix
prefer-utf-8      prefer-utf-8-dos
prefer-utf-8-mac  prefer-utf-8-unix
utf-8             utf-8-auto
utf-8-auto-dos    utf-8-auto-mac
utf-8-auto-unix   utf-8-dos
utf-8-emacs       utf-8-emacs-dos
utf-8-emacs-mac   utf-8-emacs-unix
utf-8-hfs         utf-8-hfs-dos
utf-8-hfs-mac     utf-8-hfs-unix
utf-8-mac         utf-8-unix
utf-8-with-signature     utf-8-with-signature-dos
utf-8-with-signature-mac utf-8-with-signature-unix

나는 Mac을 사용하고 있으며 이러한 다른 hf 및 mac 코딩 시스템에 대해 더 혼란 스럽습니다.

현재이 답변 에 따라 utf-8을 다음과 같이 사용하기로 결정했습니다 .

(setq utf-translate-cjk-mode nil) ; disable CJK coding/encoding (Chinese/Japanese/Korean characters)
(set-language-environment 'utf-8)
;; (set-keyboard-coding-system 'utf-8-mac) ; For old Carbon emacs on OS X only
(setq locale-coding-system 'utf-8)
(set-default-coding-systems 'utf-8)
(set-terminal-coding-system 'utf-8)
(unless (eq system-type 'windows-nt)
  (set-selection-coding-system 'utf-8))
(prefer-coding-system 'utf-8)

그러나 내가하고있는 일과 왜 다른 utf-8이 기본 코딩 시스템으로 더 나은지 이해하고 싶습니다.



답변

이맥스가 [Menu]->[Options]->[Multilingual Environment]->[Describe Coding System...]C-h C차이를 설명하고 서로 다른 코딩 시스템을 명확하게 할 수 있습니다.


답변