Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Partially resolve unicode filename issue in ftopen().
This resolves a unicode character issue when trying to use the ftopen() helper function to access files. The ftopen() function accepts a standard myth:// URI, and parses it for the necessary information, however URIs traditionally only accept a limited, safe subset of the ASCII character set. This adds a temporary work around where by the various object .open() methods will internally pass the necessary data in a tuple, bypassing the need to encode and decode about the limited character set. Myth URIs with unsafe or escaped characters will still not be handled properly by ftopen().
- Loading branch information
Showing
2 changed files
with
17 additions
and
18 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
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