[#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:41115] Re: Rails3 M17N

From: Shin-ichiro OGAWA <rust.stnard@...>
Date: 2010-04-30 07:42:50 UTC
List: ruby-dev #41115
小川と言います。

> |ちょっと前から不思議に思っているのですが、具体的にどういう例外が出ているんで
> |しょうか? いやこの話を聞く度に実例が出てこないもので。
>
> 一つの例としては、テンプレートのエンコーディングと埋め込む文
> 字列(たとえばデータベースからのもの)のエンコーディングがズレ
> てて、
>
> incompatible character encodings: ASCII-8BIT and UTF-8 (Encoding::CompatibilityError)
>
> が出る、と私は聞きました。

例えば MySQL ドライバである MySQL/Ruby では全て ASCII-8BIT になるので、
controller/view/helper/model の中でUTF-8文字列と結合したりすると
上記のエラーが発生します。

なので、データベース周りでの問題は、
DBドライバで適切なencodingをつけて返す or force_encoding すれは大丈夫そうです。

--------
小川 伸一郎 (Shin-ichiro OGAWA)
   rust.stnard@gmail.com
GPG ID 94B70E36 / 75360751
  fingerprint: {C64E 9826 8A75 723E DE54 / 70A8 F623 220C 94B7 0E36}
http://stnard.jp/
http://twitter.com/conceal_rs/
http://iddy.jp/profile/rust/



2010/4/30 Yukihiro Matsumoto <matz@ruby-lang.org>:
> まつもと ゆきひろです
>
> In message "Re: [ruby-dev:41111] Re: Rails3 M17N"
>    on Fri, 30 Apr 2010 14:10:46 +0900, Urabe Shyouhei <shyouhei@ruby-lang.org> writes:
>
> |ちょっと前から不思議に思っているのですが、具体的にどういう例外が出ているんで
> |しょうか? いやこの話を聞く度に実例が出てこないもので。
>
> 一つの例としては、テンプレートのエンコーディングと埋め込む文
> 字列(たとえばデータベースからのもの)のエンコーディングがズレ
> てて、
>
> incompatible character encodings: ASCII-8BIT and UTF-8 (Encoding::CompatibilityError)
>
> が出る、と私は聞きました。
>
>

In This Thread