Skip to content

Commit

Permalink
Fix encoding issue
Browse files Browse the repository at this point in the history
  • Loading branch information
Jeehut committed Jul 24, 2018
1 parent f3d2553 commit 5e44877
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ extension String {
}

internal var fullNSRange: NSRange {
return NSRange(location: 0, length: count)
return NSRange(location: 0, length: utf16.count)
}

public func absolutePathStandardized() -> String {
Expand Down

0 comments on commit 5e44877

Please sign in to comment.