From: Eli Zaretskii <eliz@gnu.org>
Cc: lennart.borgman@gmail.com, emacs-devel@gnu.org
Subject: Re: Codepages and shell function on w32
Date: Mon, 01 Jan 2007 02:27:45 -0500 [thread overview]
Message-ID: <E1H1HaD-00033R-FU@fencepost.gnu.org> (raw)
In-Reply-To: <4598A548.7040702@gnu.org> (message from Jason Rumney on Mon, 01 Jan 2007 06:08:08 +0000)
> Date: Mon, 01 Jan 2007 06:08:08 +0000
> From: Jason Rumney <jasonr@gnu.org>
> Cc: Eli Zaretskii <eliz@gnu.org>, emacs-devel@gnu.org
>
> There is no absolute "correct", as a user may run any programs from the
> command-line, not just native Windows console programs, and their input
> files could be in any encoding.
But the same problem exists on Unix, doesn't it? On a GNU/Linux
system I'm typing this, default-process-coding-system is set to
`(undecided . iso-latin-1)'. How about if we follow the same logic,
with the exception that we want to force EOL conversions to specific
values as w32-fns.el does now? That is, use undecided-dos for input
and CP-unix for output, where CP is whatever
w32-get-console-output-codepage returns.
The other problem is that `undecided' might use the wrong defaults on
w32, because console programs and GUI programs use different
encodings...
> In any case, hardcoding windows-1252 is clearly wrong in
> non-European locales.
100% agreement. The days of Europe-centric code should be long gone.
> Why not just set the locale for dos-semantic shells and leave it at
> that?
If we find no better alternative that is safe, let's do at least this.
next prev parent reply other threads:[~2007-01-01 7:27 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-12-31 13:22 Codepages and shell function on w32 Lennart Borgman (gmail)
2006-12-31 22:04 ` Eli Zaretskii
2007-01-01 3:05 ` Lennart Borgman (gmail)
2007-01-01 5:49 ` Eli Zaretskii
2007-01-01 13:46 ` Lennart Borgman (gmail)
2007-01-01 6:08 ` Jason Rumney
2007-01-01 7:27 ` Eli Zaretskii [this message]
2007-01-01 14:20 ` Lennart Borgman (gmail)
2007-01-02 4:26 ` Eli Zaretskii
2007-01-02 15:39 ` Lennart Borgman (gmail)
2007-01-02 21:53 ` Benjamin Riefenstahl
2007-01-02 22:49 ` Lennart Borgman (gmail)
2007-01-06 0:47 ` Benjamin Riefenstahl
2007-01-06 1:55 ` Lennart Borgman (gmail)
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=E1H1HaD-00033R-FU@fencepost.gnu.org \
--to=eliz@gnu.org \
--cc=emacs-devel@gnu.org \
--cc=lennart.borgman@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.