зеркало из https://github.com/github/ruby.git
6f3857f6a7
Previously, newline: :lf was accepted but ignored. Where it should have been used was commented out code that didn't work, but unlike all other invalid values, using newline: :lf did not raise an error. This adds support for newline: :lf and :lf_newline, for consistency with newline: :cr and :cr_newline. This is basically the same as universal_newline, except that it only affects writing and not reading due to RUBY_ECONV_NEWLINE_DECORATOR_WRITE_MASK. Add tests for the File.open :newline option while here. Fixes [Bug #12436] |
||
---|---|---|
.. | ||
CP | ||
EMOJI | ||
GB | ||
JIS | ||
ucm | ||
big5-hkscs-tbl.rb | ||
big5-uao-tbl.rb | ||
big5.trans | ||
cesu_8.trans | ||
chinese.trans | ||
cp850-tbl.rb | ||
cp852-tbl.rb | ||
cp855-tbl.rb | ||
cp949-tbl.rb | ||
ebcdic.trans | ||
emoji-exchange-tbl.rb | ||
emoji.trans | ||
emoji_iso2022_kddi.trans | ||
emoji_sjis_docomo.trans | ||
emoji_sjis_kddi.trans | ||
emoji_sjis_softbank.trans | ||
escape.trans | ||
euckr-tbl.rb | ||
gb18030-tbl.rb | ||
gb18030.trans | ||
gbk-tbl.rb | ||
gbk.trans | ||
ibm437-tbl.rb | ||
ibm720-tbl.rb | ||
ibm737-tbl.rb | ||
ibm775-tbl.rb | ||
ibm852-tbl.rb | ||
ibm855-tbl.rb | ||
ibm857-tbl.rb | ||
ibm860-tbl.rb | ||
ibm861-tbl.rb | ||
ibm862-tbl.rb | ||
ibm863-tbl.rb | ||
ibm865-tbl.rb | ||
ibm866-tbl.rb | ||
ibm869-tbl.rb | ||
iso-8859-1-tbl.rb | ||
iso-8859-2-tbl.rb | ||
iso-8859-3-tbl.rb | ||
iso-8859-4-tbl.rb | ||
iso-8859-5-tbl.rb | ||
iso-8859-6-tbl.rb | ||
iso-8859-7-tbl.rb | ||
iso-8859-8-tbl.rb | ||
iso-8859-9-tbl.rb | ||
iso-8859-10-tbl.rb | ||
iso-8859-11-tbl.rb | ||
iso-8859-13-tbl.rb | ||
iso-8859-14-tbl.rb | ||
iso-8859-15-tbl.rb | ||
iso-8859-16-tbl.rb | ||
iso2022.trans | ||
japanese.trans | ||
japanese_euc.trans | ||
japanese_sjis.trans | ||
koi8-r-tbl.rb | ||
koi8-u-tbl.rb | ||
korean.trans | ||
maccroatian-tbl.rb | ||
maccyrillic-tbl.rb | ||
macgreek-tbl.rb | ||
maciceland-tbl.rb | ||
macroman-tbl.rb | ||
macromania-tbl.rb | ||
macturkish-tbl.rb | ||
macukraine-tbl.rb | ||
newline.trans | ||
single_byte.trans | ||
tis-620-tbl.rb | ||
transdb.c | ||
utf8_mac-tbl.rb | ||
utf8_mac.trans | ||
utf_16_32.trans | ||
windows-874-tbl.rb | ||
windows-1250-tbl.rb | ||
windows-1251-tbl.rb | ||
windows-1252-tbl.rb | ||
windows-1253-tbl.rb | ||
windows-1254-tbl.rb | ||
windows-1255-tbl.rb | ||
windows-1256-tbl.rb | ||
windows-1257-tbl.rb |