--20cf307f3a72b9651404a1d6b006
Content-Type: text/plain; charset=UTF-8

On Tue, Apr 26, 2011 at 11:27 AM, Nobuyoshi Nakada <nobu / ruby-lang.org>wrote:

> Hi,
>
> At Mon, 25 Apr 2011 22:57:52 +0900,
> James Gray wrote in [ruby-core:35878]:
> > The issue is that a mode of "rb" is being used to suppress newline
> > translation on Windows.  However, that's also switching my Encoding to
> > ASCII-8BIT.  Usually I love that feature, but here it's not what I want.
>  Is
> > there anyway to shut off the translation and not get the encoding change?
>
> Now fixed so that universal_newline: false can work.  What's
> about the following patch?
>

This looks right to me.  Please commit.

James Edward Gray II

--20cf307f3a72b9651404a1d6b006
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<div class="gmail_quote">On Tue, Apr 26, 2011 at 11:27 AM, Nobuyoshi Nakada <span dir="ltr">&lt;nobu / ruby-lang.org&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
Hi,<br>
<br>
At Mon, 25 Apr 2011 22:57:52 +0900,<br>
James Gray wrote in [ruby-core:35878]:<br>
<div class="im">&gt; The issue is that a mode of &quot;rb&quot; is being used to suppress newline<br>
&gt; translation on Windows. However, that&#39;s also switching my Encoding to<br>
&gt; ASCII-8BIT. Usually I love that feature, but here it&#39;s not what I want. Is<br>
&gt; there anyway to shut off the translation and not get the encoding change?<br>
<br>
</div>Now fixed so that universal_newline: false can work. What&#39;s<br>
about the following patch?<br></blockquote><div><br></div><div>This looks right to me. Please commit.</div><div><br></div><div>James Edward GrayI</div></div>

--20cf307f3a72b9651404a1d6b006--