mirror of
https://github.com/ruby/ruby.git
synced 2025-09-16 00:54:01 +02:00
* encoding.c (rb_enc_init): don't alias iso-8859-1 to ascii.
* ascii.c (OnigEncodingASCII): change the name US-ASCII to ASCII-8BIT. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@13670 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
8c19ecbeeb
commit
ee624f97ac
3 changed files with 11 additions and 5 deletions
2
ascii.c
2
ascii.c
|
@ -40,7 +40,7 @@ ascii_is_code_ctype(OnigCodePoint code, unsigned int ctype)
|
|||
|
||||
OnigEncodingType OnigEncodingASCII = {
|
||||
onigenc_single_byte_mbc_enc_len,
|
||||
"US-ASCII", /* name */
|
||||
"ASCII-8BIT",/* name */
|
||||
1, /* max byte length */
|
||||
1, /* min byte length */
|
||||
onigenc_is_mbc_newline_0x0a,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue