-
Notifications
You must be signed in to change notification settings - Fork 55
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
libtiff_ctype: On Windows, use TIFFOpenW() when open() gets a str
Depending the Windows encoding, it can be impossible to encode a unicode path into the "filesystem encoding". So instead of employing all sorts of hacks, just use the designated function which directly takes unicode input. This has the advantage of being much more reliable. Also drop Python 2 support, as it's no needed anymore.
- Loading branch information
Showing
1 changed file
with
36 additions
and
44 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters