GNU bug report logs - #13879
Change src/msdos.c from raw-text to ASCII

Previous Next

Package: emacs;

Reported by: Paul Eggert <eggert <at> cs.ucla.edu>

Date: Tue, 5 Mar 2013 17:44:02 UTC

Severity: wishlist

Tags: patch

Done: Eli Zaretskii <eliz <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: tracker <at> debbugs.gnu.org
Subject: bug#13879: closed (Change src/msdos.c from raw-text to ASCII)
Date: Wed, 06 Mar 2013 16:25:02 +0000
[Message part 1 (text/plain, inline)]
Your message dated Wed, 06 Mar 2013 18:23:21 +0200
with message-id <83vc941oqu.fsf <at> gnu.org>
and subject line Re: bug#13879: Change src/msdos.c from raw-text to ASCII
has caused the debbugs.gnu.org bug report #13879,
regarding Change src/msdos.c from raw-text to ASCII
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs <at> gnu.org.)


-- 
13879: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=13879
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Paul Eggert <eggert <at> cs.ucla.edu>
To: bug-gnu-emacs <at> gnu.org
Cc: Eli Zaretskii <eliz <at> gnu.org>
Subject: Change src/msdos.c from raw-text to ASCII
Date: Tue, 05 Mar 2013 09:43:07 -0800
[Message part 3 (text/plain, inline)]
Tags: patch

In my attempt to make the Emacs sources UTF-8-safe, I ran across
src/msdos.c, which is currently raw-text because
it has string literals containing bytes with the top
bit set.  There's an easy way to make this ASCII, e.g.,
use the string literal "\375" rather than "X" (where X is
the actual byte with octal code 375).  Attached is a proposed patch.
I'm CC'ing this to Eli since this affects the MS-DOS port.
[msdos.txt (text/plain, attachment)]
[Message part 5 (message/rfc822, inline)]
From: Eli Zaretskii <eliz <at> gnu.org>
To: Paul Eggert <eggert <at> cs.ucla.edu>
Cc: 13879-done <at> debbugs.gnu.org
Subject: Re: bug#13879: Change src/msdos.c from raw-text to ASCII
Date: Wed, 06 Mar 2013 18:23:21 +0200
> Date: Tue, 05 Mar 2013 12:03:00 -0800
> From: Paul Eggert <eggert <at> cs.ucla.edu>
> CC: bug-gnu-emacs <at> gnu.org
> 
> On 03/05/13 10:49, Eli Zaretskii wrote:
> >  Is it OK to use some suitable DOS codepage encoding for
> > this file instead of UTF-8?  If yes, I will make a suitable change.
> 
> Yes, thanks, that'd make it clearer what's going on.

Done in trunk revision 111956.


This bug report was last modified 12 years and 82 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.