[#64517] Fw: Re: Ruby and Rails to become Apache Incubator Project — Tetsuya Kitahata <[email protected]>

What do you think? >> Ruby developers

13 messages 2014/08/23

[#64615] [ruby-trunk - Feature #10181] [Open] New method File.openat() — oss-ruby-lang@...

Issue #10181 has been reported by Technorama Ltd..

10 messages 2014/08/28
[#64616] Re: [ruby-trunk - Feature #10181] [Open] New method File.openat() — Eric Wong <normalperson@...> 2014/08/28

I like this feature.

[#64671] Fwd: [ruby-changes:35240] normal:r47322 (trunk): symbol.c (rb_sym2id): do not return garbage object — SASADA Koichi <ko1@...>

Why this fix solve your problem?

9 messages 2014/08/30
[#64672] Re: Fwd: [ruby-changes:35240] normal:r47322 (trunk): symbol.c (rb_sym2id): do not return garbage object — SASADA Koichi <ko1@...> 2014/08/30

(2014/08/30 8:50), SASADA Koichi wrote:

[ruby-core:64238] [ruby-trunk - Bug #10114] syntax error raised from instance_eval has unexpected encoding

From: nobu@...
Date: 2014-08-06 21:04:43 UTC
List: ruby-core #64238
Issue #10114 has been updated by Nobuyoshi Nakada.

Description updated
Backport changed from 2.0.0: UNKNOWN, 2.1: UNKNOWN to 2.0.0: REQUIRED, 2.1:=
 REQUIRED

----------------------------------------
Bug #10114: syntax error raised from instance_eval has unexpected encoding
https://bugs.ruby-lang.org/issues/10114#change-48228

* Author: Kevin de Berk
* Status: Open
* Priority: Normal
* Assignee:=20
* Category:=20
* Target version:=20
* ruby -v: 2.0.0, 2.1.1, 2.1.2 are affected. 1.9.3 is not
* Backport: 2.0.0: REQUIRED, 2.1: REQUIRED
----------------------------------------
~~~ruby
#!/usr/bin/env ruby
# -*- coding: utf-8 -*-

code =3D 'def n "=E2=88=88"; end'
puts "code.encoding: #{code.encoding} #{code.valid_encoding?}"

begin
  instance_eval(code)
rescue SyntaxError =3D> error
  puts "error.message.encoding: #{error.message.encoding} #{error.message.v=
alid_encoding?}"
end
~~~

Outputs the following:

~~~
code.encoding: UTF-8 true
error.message.encoding: ASCII-8BIT true
~~~

but I expect error.message.encoding to be UTF-8.







--=20
https://bugs.ruby-lang.org/

In This Thread

Prev Next