* Changing Encoding system for "Defaults for subprocess I/O" @ 2015-05-24 23:15 dan 2015-05-24 23:24 ` dan 0 siblings, 1 reply; 7+ messages in thread From: dan @ 2015-05-24 23:15 UTC (permalink / raw) To: help-gnu-emacs Hi, When I enter "M-x eshell", the describe-coding-system shows Defaults for subprocess I/O: decoding: U -- utf-8-unix (alias: mule-utf-8-unix) encoding: U -- utf-8-unix (alias: mule-utf-8-unix) However, when I go to "M-x shell", it shows Defaults for subprocess I/O: decoding: - -- undecided-unix (alias: unix) encoding: - -- undecided-unix (alias: unix) Because of above, some international character does not show properly. Do you know how to set the "Defaults for subprocess I/O" for all buffers/shell? I don't know much about lisp/emacs, so specific example would be much preferable. Thank you, Dan. ^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: Changing Encoding system for "Defaults for subprocess I/O" 2015-05-24 23:15 Changing Encoding system for "Defaults for subprocess I/O" dan @ 2015-05-24 23:24 ` dan 2015-05-25 1:41 ` Rusi ` (2 more replies) 0 siblings, 3 replies; 7+ messages in thread From: dan @ 2015-05-24 23:24 UTC (permalink / raw) To: help-gnu-emacs On Sunday, May 24, 2015 at 4:15:37 PM UTC-7, dan wrote: > Hi, > > When I enter "M-x eshell", the describe-coding-system shows > > Defaults for subprocess I/O: > decoding: U -- utf-8-unix (alias: mule-utf-8-unix) > > encoding: U -- utf-8-unix (alias: mule-utf-8-unix) > > > However, when I go to "M-x shell", it shows > > Defaults for subprocess I/O: > decoding: - -- undecided-unix (alias: unix) > > encoding: - -- undecided-unix (alias: unix) > > > Because of above, some international character does not show properly. > > Do you know how to set the "Defaults for subprocess I/O" for all buffers/shell? > > I don't know much about lisp/emacs, so specific example would be much preferable. > > Thank you, > > Dan. Also, do you know how to make a change for "Coding systems for process I/O"? Or disable it? ^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: Changing Encoding system for "Defaults for subprocess I/O" 2015-05-24 23:24 ` dan @ 2015-05-25 1:41 ` Rusi 2015-05-25 14:45 ` Eli Zaretskii [not found] ` <mailman.3625.1432565177.904.help-gnu-emacs@gnu.org> 2 siblings, 0 replies; 7+ messages in thread From: Rusi @ 2015-05-25 1:41 UTC (permalink / raw) To: help-gnu-emacs On Monday, May 25, 2015 at 4:54:57 AM UTC+5:30, dan wrote: > On Sunday, May 24, 2015 at 4:15:37 PM UTC-7, dan wrote: > > Hi, > > > > When I enter "M-x eshell", the describe-coding-system shows > > > > Defaults for subprocess I/O: > > decoding: U -- utf-8-unix (alias: mule-utf-8-unix) > > > > encoding: U -- utf-8-unix (alias: mule-utf-8-unix) > > > > > > However, when I go to "M-x shell", it shows > > > > Defaults for subprocess I/O: > > decoding: - -- undecided-unix (alias: unix) > > > > encoding: - -- undecided-unix (alias: unix) > > > > > > Because of above, some international character does not show properly. > > > > Do you know how to set the "Defaults for subprocess I/O" for all buffers/shell? > > > > I don't know much about lisp/emacs, so specific example would be much preferable. > > > > Thank you, > > > > Dan. > > Also, do you know how to make a change for > > "Coding systems for process I/O"? > > Or disable it? Dunno if this helps but look up (using C-h v) these variables: coding-system-for-write coding-system-for-read which refer to file-coding-system-alist process-coding-system-alist network-coding-system-alist ^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: Changing Encoding system for "Defaults for subprocess I/O" 2015-05-24 23:24 ` dan 2015-05-25 1:41 ` Rusi @ 2015-05-25 14:45 ` Eli Zaretskii [not found] ` <mailman.3625.1432565177.904.help-gnu-emacs@gnu.org> 2 siblings, 0 replies; 7+ messages in thread From: Eli Zaretskii @ 2015-05-25 14:45 UTC (permalink / raw) To: help-gnu-emacs > Date: Sun, 24 May 2015 16:24:55 -0700 (PDT) > From: dan <breadncup@gmail.com> > > On Sunday, May 24, 2015 at 4:15:37 PM UTC-7, dan wrote: > > Hi, > > > > When I enter "M-x eshell", the describe-coding-system shows > > > > Defaults for subprocess I/O: > > decoding: U -- utf-8-unix (alias: mule-utf-8-unix) > > > > encoding: U -- utf-8-unix (alias: mule-utf-8-unix) > > > > > > However, when I go to "M-x shell", it shows > > > > Defaults for subprocess I/O: > > decoding: - -- undecided-unix (alias: unix) > > > > encoding: - -- undecided-unix (alias: unix) > > > > > > Because of above, some international character does not show properly. Which international characters are those, and what program outputs them? Also, what is your locale? > > Do you know how to set the "Defaults for subprocess I/O" for all buffers/shell? Take a look at process-coding-system-alist, which will allow you to set the defaults as appropriate for specific applications. > Also, do you know how to make a change for > > "Coding systems for process I/O"? That's the same question as you asked above, just worded differently. > Or disable it? You can't. ^ permalink raw reply [flat|nested] 7+ messages in thread
[parent not found: <mailman.3625.1432565177.904.help-gnu-emacs@gnu.org>]
* Re: Changing Encoding system for "Defaults for subprocess I/O" [not found] ` <mailman.3625.1432565177.904.help-gnu-emacs@gnu.org> @ 2015-05-26 1:00 ` dan 2015-05-26 2:29 ` dan 2015-05-26 2:41 ` Eli Zaretskii 0 siblings, 2 replies; 7+ messages in thread From: dan @ 2015-05-26 1:00 UTC (permalink / raw) To: help-gnu-emacs On Monday, May 25, 2015 at 7:46:19 AM UTC-7, Eli Zaretskii wrote: > > Date: Sun, 24 May 2015 16:24:55 -0700 (PDT) > > > > On Sunday, May 24, 2015 at 4:15:37 PM UTC-7, dan wrote: > > > Hi, > > > > > > When I enter "M-x eshell", the describe-coding-system shows > > > > > > Defaults for subprocess I/O: > > > decoding: U -- utf-8-unix (alias: mule-utf-8-unix) > > > > > > encoding: U -- utf-8-unix (alias: mule-utf-8-unix) > > > > > > > > > However, when I go to "M-x shell", it shows > > > > > > Defaults for subprocess I/O: > > > decoding: - -- undecided-unix (alias: unix) > > > > > > encoding: - -- undecided-unix (alias: unix) > > > > > > > > > Because of above, some international character does not show properly. > > Which international characters are those, and what program outputs > them? > > Also, what is your locale? > > > > Do you know how to set the "Defaults for subprocess I/O" for all buffers/shell? > > Take a look at process-coding-system-alist, which will allow you to > set the defaults as appropriate for specific applications. > > > Also, do you know how to make a change for > > > > "Coding systems for process I/O"? > > That's the same question as you asked above, just worded differently. > > > Or disable it? > > You can't. Thanks for the all comments. I got to know how to solve this, but I don't know why. This commands make it work: (setq process-coding-system-alist (cons '("bash" . (utf-8-nfd . utf-8-nfd)) process-coding-system-alist)) Do you know what the "utf-8-nfd" means there? utf-8 or utf-8-unix does not work. ^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: Changing Encoding system for "Defaults for subprocess I/O" 2015-05-26 1:00 ` dan @ 2015-05-26 2:29 ` dan 2015-05-26 2:41 ` Eli Zaretskii 1 sibling, 0 replies; 7+ messages in thread From: dan @ 2015-05-26 2:29 UTC (permalink / raw) To: help-gnu-emacs On Monday, May 25, 2015 at 6:00:45 PM UTC-7, dan wrote: > On Monday, May 25, 2015 at 7:46:19 AM UTC-7, Eli Zaretskii wrote: > > > Date: Sun, 24 May 2015 16:24:55 -0700 (PDT) > > > > > > On Sunday, May 24, 2015 at 4:15:37 PM UTC-7, dan wrote: > > > > Hi, > > > > > > > > When I enter "M-x eshell", the describe-coding-system shows > > > > > > > > Defaults for subprocess I/O: > > > > decoding: U -- utf-8-unix (alias: mule-utf-8-unix) > > > > > > > > encoding: U -- utf-8-unix (alias: mule-utf-8-unix) > > > > > > > > > > > > However, when I go to "M-x shell", it shows > > > > > > > > Defaults for subprocess I/O: > > > > decoding: - -- undecided-unix (alias: unix) > > > > > > > > encoding: - -- undecided-unix (alias: unix) > > > > > > > > > > > > Because of above, some international character does not show properly. > > > > Which international characters are those, and what program outputs > > them? > > > > Also, what is your locale? > > > > > > Do you know how to set the "Defaults for subprocess I/O" for all buffers/shell? > > > > Take a look at process-coding-system-alist, which will allow you to > > set the defaults as appropriate for specific applications. > > > > > Also, do you know how to make a change for > > > > > > "Coding systems for process I/O"? > > > > That's the same question as you asked above, just worded differently. > > > > > Or disable it? > > > > You can't. > > Thanks for the all comments. > > I got to know how to solve this, but I don't know why. > > This commands make it work: > > (setq process-coding-system-alist (cons '("bash" . (utf-8-nfd . utf-8-nfd)) process-coding-system-alist)) > > Do you know what the "utf-8-nfd" means there? utf-8 or utf-8-unix does not work. After research of it, I got this: http://www.emacswiki.org/emacs/CarbonEmacsPackage#toc23 This tells me what is the utf-8 NFD, and why the Korean ( hangul ) was not shown properly in the shell in Emacs. Thanks, ^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: Changing Encoding system for "Defaults for subprocess I/O" 2015-05-26 1:00 ` dan 2015-05-26 2:29 ` dan @ 2015-05-26 2:41 ` Eli Zaretskii 1 sibling, 0 replies; 7+ messages in thread From: Eli Zaretskii @ 2015-05-26 2:41 UTC (permalink / raw) To: help-gnu-emacs > Date: Mon, 25 May 2015 18:00:43 -0700 (PDT) > From: dan <breadncup@gmail.com> > > This commands make it work: > > (setq process-coding-system-alist (cons '("bash" . (utf-8-nfd . utf-8-nfd)) process-coding-system-alist)) > > Do you know what the "utf-8-nfd" means there? utf-8 or utf-8-unix does not work. "M-x describe-coding-system RET" should tell you. ^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2015-05-26 2:41 UTC | newest] Thread overview: 7+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2015-05-24 23:15 Changing Encoding system for "Defaults for subprocess I/O" dan 2015-05-24 23:24 ` dan 2015-05-25 1:41 ` Rusi 2015-05-25 14:45 ` Eli Zaretskii [not found] ` <mailman.3625.1432565177.904.help-gnu-emacs@gnu.org> 2015-05-26 1:00 ` dan 2015-05-26 2:29 ` dan 2015-05-26 2:41 ` Eli Zaretskii
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).