I am seeing inconsistent behavior with the open source release of Swift 3 compared with the version that shipped with Xcode 8 with the String instance method removingPercentEncoding
:
let testString = "valid àæ"
let escapedString = testString.removingPercentEncoding
In Xcode, the result of escapedString
is "valid àæ"
. However the open source version of Swift returns "valid à"
(missing æ
).
What am I missing?