[#40961] [Bug #3137] complex.rb changes exceptions of Math — Yusuke Endoh <redmine@...>

Bug #3137: complex.rb changes exceptions of Math

15 messages 2010/04/12
[#40967] Re: [Bug #3137] complex.rb changes exceptions of Math — keiju@... (石塚圭樹) 2010/04/13

けいじゅ@いしつかです.

[#41038] Windows と DL が使用条件の libffi — Aaron Patterson <aaron.patterson@...>

こんにちは!アーロンです。

17 messages 2010/04/22
[#41039] Re: Windows と DL が使用条件の libffi — "U.Nakamura" <usa@...> 2010/04/22

こんにちは、なかむら(う)です。

[#41040] Re: Windows と DL が使用条件の libffi — "NARUSE, Yui" <naruse@...> 2010/04/22

成瀬です。

[#41059] Re: Windows と DL が使用条件の libffi — Aaron Patterson <aaron.patterson@...> 2010/04/26

2010/4/21 NARUSE, Yui <naruse@airemix.jp>:

[#41060] Re: Windows と DL が使用条件の libffi — Yugui <yugui@...> 2010/04/26

2010/4/26 Aaron Patterson <aaron.patterson@gmail.com>:

[#41067] [Feature #3203] LazySweepGC patch — Narihiro Nakamura <redmine@...>

Feature #3203: LazySweepGC patch

15 messages 2010/04/26
[#41069] Re: [Feature #3203] LazySweepGC patch — Yusuke ENDOH <mame@...> 2010/04/27

遠藤です。

[#41104] Rails3 M17N — Yukihiro Matsumoto <matz@...>

まつもと ゆきひろです

29 messages 2010/04/30
[#41111] Re: Rails3 M17N — Urabe Shyouhei <shyouhei@...> 2010/04/30

Yukihiro Matsumoto =E3=81=95=E3=82=93=E3=81=AF=E6=9B=B8=E3=81=8D=E3=81=BE=

[#41113] Re: Rails3 M17N — Yukihiro Matsumoto <matz@...> 2010/04/30

まつもと ゆきひろです

[ruby-dev:41108] Re: Rails3 M17N

From: Fujioka <fuj@...>
Date: 2010-04-30 04:05:44 UTC
List: ruby-dev #41108
xibbarです。

>> |# ちなみに、encode()はASCII-8BITでは例外なので、
>> |# cgi.rbでは全く使っていない。
>>
>> 元のエンコーディングがわかれば、encode()の第2引数を指定する
>> ことで例外を回避できます。
>>
> これは知らなかった。orz
> 
irb(main):006:0> "ふじおか".force_encoding("ASCII-8BIT").encode("UTF-
8","ASCII-8BIT")
Encoding::UndefinedConversionError: "\xE3" from ASCII-8BIT to UTF-8
	from (irb):6:in `encode'
	from (irb):6
	from /Users/fujioka/local/bin/irb19:12:in `<main>'

です。なんか間違っているのかな。オプション指定しても

irb(main):009:0* "ふじおか".force_encoding("ASCII-8BIT").encode("UTF-
8","ASCII-8BIT",:invalid=>:replace)
Encoding::UndefinedConversionError: "\xE3" from ASCII-8BIT to UTF-8
	from (irb):9:in `encode'
	from (irb):9
	from /Users/fujioka/local/bin/irb19:12:in `<main>'

うーん。。。

In This Thread