remove tr to support cp932 encoding

This commit is contained in:
dogatana 2016-12-07 22:35:33 +09:00
parent 812609111c
commit a4e3b55bb2
1 changed files with 1 additions and 1 deletions

View File

@ -358,7 +358,7 @@ module Zip
unpack_c_dir_entry(static_sized_fields_buf) unpack_c_dir_entry(static_sized_fields_buf)
check_c_dir_entry_signature check_c_dir_entry_signature
set_time(@last_mod_date, @last_mod_time) set_time(@last_mod_date, @last_mod_time)
@name = io.read(@name_length).tr('\\', '/') @name = io.read(@name_length)
read_c_dir_extra_field(io) read_c_dir_extra_field(io)
@comment = io.read(@comment_length) @comment = io.read(@comment_length)
check_c_dir_entry_comment_size check_c_dir_entry_comment_size