[前][次][番号順一覧][スレッド一覧]

ruby-changes:3707

From: ko1@a...
Date: Thu, 24 Jan 2008 01:08:21 +0900 (JST)
Subject: [ruby-changes:3707] naruse - Ruby:r15196 (trunk): * ruby.c (proc_optionc): -Kn means ASCII-8BIT.

naruse	2008-01-24 01:08:04 +0900 (Thu, 24 Jan 2008)

  New Revision: 15196

  Modified files:
    trunk/ChangeLog
    trunk/ruby.c

  Log:
    * ruby.c (proc_optionc): -Kn means ASCII-8BIT.

  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/trunk/ruby.c?r1=15196&r2=15195&diff_format=u
  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/trunk/ChangeLog?r1=15196&r2=15195&diff_format=u

Index: ChangeLog
===================================================================
--- ChangeLog	(revision 15195)
+++ ChangeLog	(revision 15196)
@@ -5,6 +5,8 @@
 	* parse.y (parser_str_new, rb_intern3): ascii only string literal is
 	  US-ASCII.
 
+	* ruby.c (proc_optionc): -Kn means ASCII-8BIT. 
+
 Wed Jan 23 23:54:40 2008  Yusuke Endoh  <mame@t...>
 
 	* sprintf.c: fix comment.  [ruby-dev:33275]
Index: ruby.c
===================================================================
--- ruby.c	(revision 15195)
+++ ruby.c	(revision 15196)
@@ -719,7 +719,7 @@
 		    enc_name = "UTF-8";
 		    break;
 		  case 'N': case 'n': case 'A': case 'a':
-		    enc_name = "US-ASCII";
+		    enc_name = "ASCII-8BIT";
 		    break;
 		}
 		if (enc_name) {

--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]