.emacs-my
changeset 1542 29783921b4f7
parent 1541 dca10cecc9e2
child 1543 438174f1f3f5
equal deleted inserted replaced
1541:dca10cecc9e2 1542:29783921b4f7
  1031  ((equal window-system 'w32)          ; also (string-equal system-type "windows-nt")
  1031  ((equal window-system 'w32)          ; also (string-equal system-type "windows-nt")
  1032   ;; (set-selection-coding-system 'utf-16-le-dos)
  1032   ;; (set-selection-coding-system 'utf-16-le-dos)
  1033   ;; (setq-default buffer-file-coding-system 'cp1251)
  1033   ;; (setq-default buffer-file-coding-system 'cp1251)
  1034   ;; (setq default-file-name-coding-system 'cp1251)
  1034   ;; (setq default-file-name-coding-system 'cp1251)
  1035   ;; (setq default-process-coding-system '(cp1251 . cp1251))
  1035   ;; (setq default-process-coding-system '(cp1251 . cp1251))
       
  1036   (setq default-process-coding-system '(utf-8-dos . utf-8-unix))
  1036   )
  1037   )
  1037  ((equal window-system 'x)
  1038  ((equal window-system 'x)
  1038   (prefer-coding-system 'utf-8-unix)
  1039   (prefer-coding-system 'utf-8-unix)
  1039   (setq selection-coding-system nil)
  1040   (setq selection-coding-system nil)
  1040   (setq x-select-request-type '(UTF8_STRING COMPOUND_TEXT TEXT STRING))
  1041   (setq x-select-request-type '(UTF8_STRING COMPOUND_TEXT TEXT STRING))