Actions
Bug #20719
closed`Float` converts ASCII-incompatible string
Description
"\u{3036}" #=> "〶"
Float("\u{3036}".encode("utf-16be")) #=> 6.0
While:
Integer("\u{3036}".encode("utf-16be")) #=> ASCII incompatible encoding: UTF-16BE (Encoding::CompatibilityError)
Updated by nobu (Nobuyoshi Nakada) 4 months ago
- Status changed from Open to Closed
Applied in changeset git|c1862cbb89a6bf42dcd07d92fe4f4bfeebca5775.
[Bug #20719] Float
argument must be ASCII compatible
Updated by nagachika (Tomoyuki Chikanaga) 2 months ago
- Backport changed from 3.1: REQUIRED, 3.2: REQUIRED, 3.3: REQUIRED to 3.1: REQUIRED, 3.2: DONE, 3.3: REQUIRED
ruby_3_2 18074c508105244552678cf6afd4b23304cb4c8f merged revision(s) c1862cbb89a6bf42dcd07d92fe4f4bfeebca5775.
Updated by k0kubun (Takashi Kokubun) about 2 months ago
- Backport changed from 3.1: REQUIRED, 3.2: DONE, 3.3: REQUIRED to 3.1: REQUIRED, 3.2: DONE, 3.3: DONE
ruby_3_3 34a0f41d0aaff190f1647a6fa0e905690d0eff98 merged revision(s) c1862cbb89a6bf42dcd07d92fe4f4bfeebca5775.
Actions
Like0
Like0Like0Like0