ruby-cvs:22356
From: nobu ruby-lang.org
Date: Sat, 19 Jan 2008 08:35:39 +0900 (JST)
Subject: [ruby-cvs:22356] Ruby:r15119 (trunk): * parse.y (parser_prepare): get encoding from the first line.
nobu 2008-01-19 08:35:38 +0900 (Sat, 19 Jan 2008)
New Revision: 15119
Modified files:
trunk/ChangeLog
trunk/parse.y
trunk/ruby.c
Log:
* parse.y (parser_prepare): get encoding from the first line.
[ruby-dev:33168]
* ruby.c (load_file): set encoding to input with set_encoding.
http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/trunk/ruby.c?r1=15119&r2=15118&diff_format=u
http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/trunk/parse.y?r1=15119&r2=15118&diff_format=u
http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/trunk/ChangeLog?r1=15119&r2=15118&diff_format=u