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 Jan 28, 2016
1 parent 5c406eb commit c920c38
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 @@ -190,11 +190,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 c920c38

Please sign in to comment.