Fix wxURI::Unescape() to work with Unicode strings
Such strings are not really URIs as they should have been encoded if they were but we can obtain them from e.g. wxFileSystem::FindFirst(), so handle them correctly here as it's simpler than checking all the places where Unescape() is called. Add a unit test checking that decoding an URI containing both Unicode and percent-encoded Unicode characters works correctly.
This commit is contained in:
@@ -63,6 +63,7 @@ All:
|
||||
|
||||
- Add UTF-8 and ZIP 64 support to wxZip{Input,Output}Stream (Tobias Taschner).
|
||||
- Upgrade libpng to 1.6.21 fixing several security bugs (Paul Kulchenko).
|
||||
- Fix handling of Unicode file names in wxFileSystem::FindFirst().
|
||||
- Add wxStandardPaths::GetUserDir() (Tobias Taschner).
|
||||
- Allow calling wxItemContainer::Add() and similar with std::vector<> argument.
|
||||
- Add "%z" support to printf()-like functions like wxString::Format() (RIVDSL).
|
||||
|
Reference in New Issue
Block a user