summaryrefslogtreecommitdiffstats
path: root/ascii.c
diff options
context:
space:
mode:
authorakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2007-10-10 06:50:33 +0000
committerakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2007-10-10 06:50:33 +0000
commit769887ee9251bf0104c9725e87aaf1c2369a7f9f (patch)
tree9bf7acc50fefc01abec3f932cb10576ce82888ea /ascii.c
parentcd76c9103a3467dd5e13785976f46262094098ac (diff)
downloadruby-769887ee9251bf0104c9725e87aaf1c2369a7f9f.tar.gz
ruby-769887ee9251bf0104c9725e87aaf1c2369a7f9f.tar.xz
ruby-769887ee9251bf0104c9725e87aaf1c2369a7f9f.zip
* 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: http://svn.ruby-lang.org/repos/ruby/trunk@13670 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ascii.c')
-rw-r--r--ascii.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ascii.c b/ascii.c
index c2715f4e0..abf784b16 100644
--- a/ascii.c
+++ b/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,