Created
March 1, 2011 09:14
-
-
Save condotti/848874 to your computer and use it in GitHub Desktop.
PowerShell.elでパスに漢字を使えるようにする (powershell-hookが無いのでdefadvice)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(defadvice powershell (after process-coding-system activate) | |
(mapc #'(lambda (process) | |
(if (eq (process-buffer process) (current-buffer)) | |
(set-process-coding-system process 'sjis-dos 'sjis-dos))) | |
(process-list))) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment