Commits

Takayuki Shimizukawa committed c8edbaa

fixed again again..: multibyte filename handling.

Comments (0)

Files changed (1)

sphinx/cmdline.py

 * with filenames, write these.""" % (__version__, argv[0])
 
 
-def unicode_abspath(path):
-    return unicode(path, sys.getfilesystemencoding())
+def unicode_abspath(pathdir):
+    return unicode(path.abspath(pathdir), sys.getfilesystemencoding())
 
 
 def main(argv):