mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
Specify external encoding.
When external encoding is not specified, it uses default external encoding. But it depends the environment. So specify as UTF-8 for environments whose locale is not UTF-8. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29302 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
3038eae7f6
commit
0433134947
1 changed files with 1 additions and 1 deletions
|
@ -43,7 +43,7 @@ END
|
|||
end
|
||||
# Provided by Tom Talbott
|
||||
def test_more_ordering
|
||||
doc = REXML::Document.new(Zlib::GzipReader.new(File.new(fixture_path('LostineRiver.kml.gz'))))
|
||||
doc = REXML::Document.new(Zlib::GzipReader.new(File.new(fixture_path('LostineRiver.kml.gz'),'r:utf-8')))
|
||||
actual = [
|
||||
"Head south from Phinney Ave N",
|
||||
"Turn left at N 36th St",
|
||||
|
|
Loading…
Reference in a new issue