scritch (Vincent Isambart)
- Login: scritch
- Email: vincent.isambart@gmail.com
- Registered on: 04/21/2009
- Last sign in: 06/28/2011
Issues
| open | closed | Total | |
|---|---|---|---|
| Assigned issues | 0 | 0 | 0 |
| Reported issues | 0 | 2 | 2 |
Activity
03/04/2010
-
03:00 PM Ruby Feature #2759: Regexp /g and /G options
- =begin
> The objections to this feature amounted to "it's complicated for users to understand and no-one needs it". Which would be a perfectly valid justification if true, but clearly Michael does need it, and has been willing to argue ...
01/25/2010
-
04:37 PM Ruby Bug #2636: Incorrect UTF-16 string length
- =begin
> What needs to be fixed here is the data, nothing else:
>
> irb(main):001:> s = "\xDC\x0B\xD8\x40".force_encoding 'UTF-16BE'
> => "\xDC\x{BD8}\x40"
> irb(main):002:> s.valid_encoding?
> => false
Yes I know the data is in...
01/24/2010
-
12:10 PM Ruby Bug #2636 (Closed): Incorrect UTF-16 string length
- =begin
str = "\xDC\x0B\xD8\x40".force_encoding(Encoding::UTF_16BE)
str.length #=> 3
This string is made by inverting 2 words of a UTF-16 character not in the BMP.
The length should be 2 because it's made of two (unpaired) surro...
04/21/2009
-
10:39 AM Ruby Bug #1393 (Rejected): Multiple assignment does not call to_a but to_ary
- =begin
In Ruby 1.9, when Ruby is expecting an array and does not get one (for example in splat arguments), it calls the to_a method on the object.
For example, if x is not an array, "y = *x" tries to call x.to_a.
However, in multipl...