mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* parse.y (parser_prepare): set begging after BOM if exists.
[ruby-core:13718] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@13980 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
db74541efe
commit
d7e4c1e66b
2 changed files with 6 additions and 0 deletions
|
@ -1,3 +1,8 @@
|
|||
Tue Nov 20 15:08:13 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
||||
|
||||
* parse.y (parser_prepare): set begging after BOM if exists.
|
||||
[ruby-core:13718]
|
||||
|
||||
Tue Nov 20 14:55:37 2007 Eric Hodel <drbrain@segment7.net>
|
||||
|
||||
* lib/rubygems*: Update to RubyGems 0.9.5.
|
||||
|
|
1
parse.y
1
parse.y
|
@ -5944,6 +5944,7 @@ parser_prepare(struct parser_params *parser)
|
|||
(unsigned char)lex_p[1] == 0xbf) {
|
||||
parser_set_encode(parser, "UTF-8");
|
||||
lex_p += 2;
|
||||
lex_pbeg = lex_p;
|
||||
return;
|
||||
}
|
||||
break;
|
||||
|
|
Loading…
Add table
Reference in a new issue