Fix supporting for filenames with non-ASCII characters
This commit is contained in:
parent
28bdbf8adc
commit
55e6adba5f
|
@ -7,6 +7,7 @@
|
||||||
* Bug #221 Patch for building with C++11 (Roger Leigh)
|
* Bug #221 Patch for building with C++11 (Roger Leigh)
|
||||||
+ Added Mac port
|
+ Added Mac port
|
||||||
* Update the iconized frame window when opening files from the command line
|
* Update the iconized frame window when opening files from the command line
|
||||||
|
* Fix supporting for filenames with non-ASCII characters
|
||||||
|
|
||||||
1.2.1.4
|
1.2.1.4
|
||||||
+ Feature #171 Fold element does not fold following whitespace
|
+ Feature #171 Fold element does not fold following whitespace
|
||||||
|
|
|
@ -796,7 +796,7 @@ xmlChar *WrapLibxml::xmlFileNameToURL ( const wxString &fileName )
|
||||||
|
|
||||||
wxFileName WrapLibxml::URLToFileName ( const wxString &url )
|
wxFileName WrapLibxml::URLToFileName ( const wxString &url )
|
||||||
{
|
{
|
||||||
#if wxCHECK_VERSION(2,9,0)
|
#if wxCHECK_VERSION(2,9,0) && !wxCHECK_VERSION(3,0,0)
|
||||||
return wxFileSystem::URLToFileName ( url );
|
return wxFileSystem::URLToFileName ( url );
|
||||||
#else
|
#else
|
||||||
xmlURIPtr uri = xmlParseURI ( url.utf8_str() );
|
xmlURIPtr uri = xmlParseURI ( url.utf8_str() );
|
||||||
|
|
Loading…
Reference in New Issue