GNU bug report logs -
#3616
23.0.94; vc-bzr coding system bug
Previous Next
Reported by: 端瑞 <duanpanda <at> gmail.com>
Date: Fri, 19 Jun 2009 08:30:03 UTC
Severity: normal
Done: Sean Whitton <spwhitton <at> spwhitton.name>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
[Message part 1 (text/plain, inline)]
Forwarding with permission.
Eli, this is a Windows thing, do you think there is something to
investigate and fix here, or perhaps this is already captured somewhere
else?
We should probably close this specific bug, but I wanted to check with
you.
Thanks.
--
Sean Whitton
-------------------- Start of forwarded message --------------------
From: Rui Duan <duanpanda <at> gmail.com>
Date: Tue, 4 Mar 2025 10:09:51 -0500
Message-ID: <CAPnO5hEFkD2kwP771ZnDhJwzGM8xz_xUeAh1UaVNpUk7m5POqQ <at> mail.gmail.com>
Subject: Re: 3616 <at> debbugs.gnu.org
To: Sean Whitton <spwhitton <at> spwhitton.name>
[Message part 2 (text/plain, inline)]
Hi Sean,
Thank you for asking! I guess the bug still exists. But you can close this
bug if there are not many people complaining about this issue.
I don't have the GBK Chinese Windows at hand, so I cannot test all the 3
example cases.
I've just tested my example 3 (`cd` a Chinese directory) in a Shell mode
buffer on an English (latin) Windows system with GNU Emacs 29.4. Emacs
passed whitespaces (0x0A) to the Windows command line, instead of UTF-8
encoded string. Emacs detected that the process encoding system is latin,
it cannot convert the UTF-8 encoded Chinese characters to the latin
encoding, then it passes whitespaces as placeholders to the shell process.
This behaviour is different from what I saw 15 years ago.
However, I don't think this is the right logic to handle the encoding
conversion problem. The correct logic should be: try to get the OS encoding
system, if it succeeds, try to encode the string using that encoding system
and pass the encoded string to the subprocess, if failed, report error.
However, the current behaviour is to use whitespaces as placeholders.
Best Regards,
Rui (Ryan) Duan
On Mon, Mar 3, 2025 at 11:14 PM Sean Whitton <spwhitton <at> spwhitton.name>
wrote:
> Hello Ryan Duan,
>
> Can you still reproduce <https://debbugs.gnu.org/3616> ?
>
> If not, I would propose we close this very old bug report.
>
> --
> Sean Whitton
>
[Message part 3 (text/html, inline)]
[Message part 4 (text/plain, inline)]
-------------------- End of forwarded message --------------------
This bug report was last modified 77 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.