Skip to content

Commit

Permalink
Fixed marklogic-community#256: applied explicit UTF-8 encoding on fil…
Browse files Browse the repository at this point in the history
…e paths for Windows
  • Loading branch information
grtjn committed Jul 7, 2015
1 parent 0d9e53e commit a4fe519
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions deploy/lib/xcc.rb
Original file line number Diff line number Diff line change
Expand Up @@ -184,11 +184,11 @@ def get_files(path, options = {}, data = [])
if File.directory?(full_path)
get_files(full_path, options, data)
else
data << full_path
data << full_path.encode("UTF-8")
end
end
else
data = [path]
data = [path.encode("UTF-8")]
end
data
end
Expand Down

0 comments on commit a4fe519

Please sign in to comment.