Merge pull request #1070 from evansb/master
Fix unicode-character filename bug.
This commit is contained in:
commit
fd324cbcbb
@ -103,7 +103,7 @@ def GetUnsavedAndCurrentBufferData():
|
||||
|
||||
|
||||
def GetBufferNumberForFilename( filename, open_file_if_needed = True ):
|
||||
return GetIntValue( "bufnr('{0}', {1})".format(
|
||||
return GetIntValue( u"bufnr('{0}', {1})".format(
|
||||
os.path.realpath( filename ),
|
||||
int( open_file_if_needed ) ) )
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user