* [ruby-core:119095] [Ruby master Bug#20719] `Float` converts ASCII-incompatible string
@ 2024-09-07 7:01 nobu (Nobuyoshi Nakada) via ruby-core
2024-10-21 8:50 ` [ruby-core:119542] " nagachika (Tomoyuki Chikanaga) via ruby-core
2024-11-04 22:37 ` [ruby-core:119709] " k0kubun (Takashi Kokubun) via ruby-core
0 siblings, 2 replies; 3+ messages in thread
From: nobu (Nobuyoshi Nakada) via ruby-core @ 2024-09-07 7:01 UTC (permalink / raw)
To: ruby-core; +Cc: nobu (Nobuyoshi Nakada)
Issue #20719 has been reported by nobu (Nobuyoshi Nakada).
----------------------------------------
Bug #20719: `Float` converts ASCII-incompatible string
https://bugs.ruby-lang.org/issues/20719
* Author: nobu (Nobuyoshi Nakada)
* Status: Open
* Backport: 3.1: REQUIRED, 3.2: REQUIRED, 3.3: REQUIRED
----------------------------------------
```ruby
"\u{3036}" #=> "〶"
Float("\u{3036}".encode("utf-16be")) #=> 6.0
```
While:
```ruby
Integer("\u{3036}".encode("utf-16be")) #=> ASCII incompatible encoding: UTF-16BE (Encoding::CompatibilityError)
```
--
https://bugs.ruby-lang.org/
______________________________________________
ruby-core mailing list -- ruby-core@ml.ruby-lang.org
To unsubscribe send an email to ruby-core-leave@ml.ruby-lang.org
ruby-core info -- https://ml.ruby-lang.org/mailman3/lists/ruby-core.ml.ruby-lang.org/
^ permalink raw reply [flat|nested] 3+ messages in thread
* [ruby-core:119542] [Ruby master Bug#20719] `Float` converts ASCII-incompatible string
2024-09-07 7:01 [ruby-core:119095] [Ruby master Bug#20719] `Float` converts ASCII-incompatible string nobu (Nobuyoshi Nakada) via ruby-core
@ 2024-10-21 8:50 ` nagachika (Tomoyuki Chikanaga) via ruby-core
2024-11-04 22:37 ` [ruby-core:119709] " k0kubun (Takashi Kokubun) via ruby-core
1 sibling, 0 replies; 3+ messages in thread
From: nagachika (Tomoyuki Chikanaga) via ruby-core @ 2024-10-21 8:50 UTC (permalink / raw)
To: ruby-core; +Cc: nagachika (Tomoyuki Chikanaga)
Issue #20719 has been updated by nagachika (Tomoyuki Chikanaga).
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 commit:18074c508105244552678cf6afd4b23304cb4c8f merged revision(s) commit:c1862cbb89a6bf42dcd07d92fe4f4bfeebca5775.
----------------------------------------
Bug #20719: `Float` converts ASCII-incompatible string
https://bugs.ruby-lang.org/issues/20719#change-110158
* Author: nobu (Nobuyoshi Nakada)
* Status: Closed
* Backport: 3.1: REQUIRED, 3.2: DONE, 3.3: REQUIRED
----------------------------------------
```ruby
"\u{3036}" #=> "〶"
Float("\u{3036}".encode("utf-16be")) #=> 6.0
```
While:
```ruby
Integer("\u{3036}".encode("utf-16be")) #=> ASCII incompatible encoding: UTF-16BE (Encoding::CompatibilityError)
```
--
https://bugs.ruby-lang.org/
______________________________________________
ruby-core mailing list -- ruby-core@ml.ruby-lang.org
To unsubscribe send an email to ruby-core-leave@ml.ruby-lang.org
ruby-core info -- https://ml.ruby-lang.org/mailman3/lists/ruby-core.ml.ruby-lang.org/
^ permalink raw reply [flat|nested] 3+ messages in thread
* [ruby-core:119709] [Ruby master Bug#20719] `Float` converts ASCII-incompatible string
2024-09-07 7:01 [ruby-core:119095] [Ruby master Bug#20719] `Float` converts ASCII-incompatible string nobu (Nobuyoshi Nakada) via ruby-core
2024-10-21 8:50 ` [ruby-core:119542] " nagachika (Tomoyuki Chikanaga) via ruby-core
@ 2024-11-04 22:37 ` k0kubun (Takashi Kokubun) via ruby-core
1 sibling, 0 replies; 3+ messages in thread
From: k0kubun (Takashi Kokubun) via ruby-core @ 2024-11-04 22:37 UTC (permalink / raw)
To: ruby-core; +Cc: k0kubun (Takashi Kokubun)
Issue #20719 has been updated by k0kubun (Takashi Kokubun).
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 commit:34a0f41d0aaff190f1647a6fa0e905690d0eff98 merged revision(s) commit:c1862cbb89a6bf42dcd07d92fe4f4bfeebca5775.
----------------------------------------
Bug #20719: `Float` converts ASCII-incompatible string
https://bugs.ruby-lang.org/issues/20719#change-110373
* Author: nobu (Nobuyoshi Nakada)
* Status: Closed
* Backport: 3.1: REQUIRED, 3.2: DONE, 3.3: DONE
----------------------------------------
```ruby
"\u{3036}" #=> "〶"
Float("\u{3036}".encode("utf-16be")) #=> 6.0
```
While:
```ruby
Integer("\u{3036}".encode("utf-16be")) #=> ASCII incompatible encoding: UTF-16BE (Encoding::CompatibilityError)
```
--
https://bugs.ruby-lang.org/
______________________________________________
ruby-core mailing list -- ruby-core@ml.ruby-lang.org
To unsubscribe send an email to ruby-core-leave@ml.ruby-lang.org
ruby-core info -- https://ml.ruby-lang.org/mailman3/lists/ruby-core.ml.ruby-lang.org/
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2024-11-04 22:37 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-09-07 7:01 [ruby-core:119095] [Ruby master Bug#20719] `Float` converts ASCII-incompatible string nobu (Nobuyoshi Nakada) via ruby-core
2024-10-21 8:50 ` [ruby-core:119542] " nagachika (Tomoyuki Chikanaga) via ruby-core
2024-11-04 22:37 ` [ruby-core:119709] " k0kubun (Takashi Kokubun) via ruby-core
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).