all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: "Laimonas Vėbra" <laimonas.vebra@gmail.com>
Cc: 6705@debbugs.gnu.org
Subject: bug#6705: w32 cmdproxy.c pass args to cygwin; erroneous charset conversion (problem description, solution/suggestion)
Date: Sat, 24 Jul 2010 23:33:19 +0300	[thread overview]
Message-ID: <83mxtg8vsg.fsf@gnu.org> (raw)
In-Reply-To: <4C4A0F65.9040301@gmail.com>

> Date: Sat, 24 Jul 2010 00:53:41 +0300
> From: Laimonas Vėbra <laimonas.vebra@gmail.com>
> CC: 6705@debbugs.gnu.org
> 
> M-x eval-expression
> (setq coding-system-for-write 'utf-8)
> M-x grep
> test.exe "Šešios žąsys su šešiais žąsyčiais" >> out.txt
> 
> M-x eval-expression
> (setq coding-system-for-write 'cp1257)
> M-x grep
> test.exe "Šešios žąsys su šešiais žąsyčiais" >> out.txt
> 
> 
> M-x eval-expression
> (setq coding-system-for-write 'utf-8)
> M-x grep
> test.exe "С новым годом Ели Заретски!" >> out.txt
> 
> 
> M-x eval-expression
> (setq coding-system-for-write 'cp1251)
> M-x grep
> test.exe "С новым годом Ели Заретски!" >> out.txt
> 
> 
> M-x eval-expression
> (setq coding-system-for-write 'utf-8)
> M-x grep
> test.exe "Χρήση εθνικών και ειδικών χαρακτήρων" >> out.txt
> 
> M-x eval-expression
> (setq coding-system-for-write 'iso-8859-7)
> M-x grep
> test.exe "Χρήση εθνικών και ειδικών χαρακτήρων" >> out.txt

If all you want is to pass raw bytes to programs that will be unable
to interpret them _except_ as raw bytes, then where's the problem?
The above already works in Emacs, doesn't it?

> File 'out.txt' attached.

Try visiting it, and you will see what I mean.






  reply	other threads:[~2010-07-24 20:33 UTC|newest]

Thread overview: 23+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-07-22 12:31 bug#6705: w32 cmdproxy.c pass args to cygwin; erroneous charset conversion (problem description, solution/suggestion) Laimonas Vėbra
2010-07-22 14:33 ` Jason Rumney
2010-07-22 18:14   ` bug#6546: " Laimonas Vėbra
2010-07-22 19:50 ` Eli Zaretskii
2010-07-22 20:59   ` Laimonas Vėbra
2010-07-23 10:21     ` Eli Zaretskii
2010-07-23 12:57       ` Laimonas Vėbra
2010-07-23 14:35         ` Eli Zaretskii
2010-07-23 15:35           ` Laimonas Vėbra
2010-07-23 18:06             ` Eli Zaretskii
2010-07-23 18:53               ` Laimonas Vėbra
2010-07-23 21:25                 ` Eli Zaretskii
2010-07-23 21:53                   ` Laimonas Vėbra
2010-07-24 20:33                     ` Eli Zaretskii [this message]
2010-07-25 10:10                       ` Laimonas Vėbra
2010-07-23 19:07             ` Juanma Barranquero
2010-07-23 19:51               ` Laimonas Vėbra
2010-07-23 19:59                 ` Juanma Barranquero
2010-07-22 22:56   ` Juanma Barranquero
2010-07-23 10:26     ` Eli Zaretskii
2010-07-23 10:45       ` Juanma Barranquero
2010-07-23 14:16         ` Eli Zaretskii
2010-07-25 23:38           ` Stefan Monnier

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=83mxtg8vsg.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=6705@debbugs.gnu.org \
    --cc=laimonas.vebra@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.