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)
Actions
Like0
Like0Like0Like0