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 days ago
- Status changed from Open to Closed
Applied in changeset git|c1862cbb89a6bf42dcd07d92fe4f4bfeebca5775.
[Bug #20719] Float
argument must be ASCII compatible
Actions
Like0
Like0