--- Begin Message ---
Subject: |
Change src/msdos.c from raw-text to ASCII |
Date: |
Tue, 05 Mar 2013 09:43:07 -0800 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130219 Thunderbird/17.0.3 |
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
Description: Text document
--- End Message ---
--- Begin Message ---
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 <address@hidden>
> CC: address@hidden
>
> 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.
--- End Message ---