bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#6705: w32 cmdproxy.c pass args to cygwin; erroneous charset conversi


From: Eli Zaretskii
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

> 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 via email to

[Prev in Thread] Current Thread [Next in Thread]