Commit 9356ed0
committed
Add encoding, string path for checkEncoding
The stringio library depends on being able to pass an encoding
only as the first argument to rb_enc_check, which causes the
downstream enc_compatible_latter to reject incompatible encodings
regardless of the first string being blank.
Part of fixes to pass stringio tests in ruby/stringio#116.1 parent 00021bc commit 9356ed0
File tree
2 files changed
+18
-1
lines changed- core/src/main/java/org/jruby
- util
2 files changed
+18
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
53 | 53 | | |
54 | 54 | | |
55 | 55 | | |
| 56 | + | |
56 | 57 | | |
57 | 58 | | |
58 | 59 | | |
| |||
473 | 474 | | |
474 | 475 | | |
475 | 476 | | |
| 477 | + | |
| 478 | + | |
| 479 | + | |
| 480 | + | |
| 481 | + | |
| 482 | + | |
| 483 | + | |
476 | 484 | | |
477 | 485 | | |
478 | 486 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1946 | 1946 | | |
1947 | 1947 | | |
1948 | 1948 | | |
| 1949 | + | |
| 1950 | + | |
| 1951 | + | |
| 1952 | + | |
| 1953 | + | |
| 1954 | + | |
| 1955 | + | |
| 1956 | + | |
| 1957 | + | |
1949 | 1958 | | |
1950 | 1959 | | |
1951 | 1960 | | |
| |||
1972 | 1981 | | |
1973 | 1982 | | |
1974 | 1983 | | |
1975 | | - | |
1976 | 1984 | | |
1977 | 1985 | | |
| 1986 | + | |
1978 | 1987 | | |
1979 | 1988 | | |
1980 | 1989 | | |
| |||
0 commit comments