2015-07-09 6:47 GMT+03:00 ben <bgol...@gmail.com>: > Not sure if this is the right place to report a bug, but here it comes... > > How to reproduce: > > 1. Start Command Prompt. > 2. Create an empty test directory anywhere and cd into it. > 3. Create a subdirectory with a Unicode character in it, e.g. mkdir α > 4. Create a file named Session.vim in the Unicode directory. You can use > vim/gvim for this. The contents don't really matter, although I used > > echo 'Session.vim sourced!' > > just to provide some feedback if the file is successfully sourced. > 5. Ensuring your pwd is *outside* the Unicode directory, try to pass the > Session.vim file as the argument to gvim -S. In other words, run either of > the following two commands (assuming the vim installation directory, e.g. > C:\Program Files (x86)\Vim\vim74, is in your %PATH%): > > vim -S α\Session.vim > gvim -S α\Session.vim > > The result (at least for me, using [g]vim 7.4.0 on Windows 8.1) is this error > message: > > Error detected while processing command line: > E484: Can't open file a\Session.vim > > The "α" (U+03B1) became an "a" (U+0061). I also tried a fraction slash > (U+2044) and it became a normal forward slash (U+002F). Thus, it looks like > there's some kind of "compatibility normalization" thing going on, or maybe > some kind of munging due to code pages. In any case, the command should not > be failing. > > It is also noteworthy that just editing the file via the command-line works > fine. IOW, the following works: > > vim α\Session.vim > gvim α\Session.vim > > Thus, I really don't think this should be failing.
Try out `:source α\Session.vim` from inside gvim. -S switch is a *complete* equivalent to using `-c "so α\Session.vim"`: internally in main.c vim simply converts -S to the latter. Behaviour in this case should give some hints regarding what part of gvim is responsible for this. Also check `gvim -c "so α\Session.vim"` just in case. > > I also tried using the latest MacVim and console vim on Mac OS X 10.9, and I > also tried Cygwin console vim on the same Windows 8.1 system, and none of > those failed. > > Thanks! > > Ben > > -- > -- > You received this message from the "vim_dev" maillist. > Do not top-post! Type your reply below the text you are replying to. > For more information, visit http://www.vim.org/maillist.php > > --- > You received this message because you are subscribed to the Google Groups > "vim_dev" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to vim_dev+unsubscr...@googlegroups.com. > For more options, visit https://groups.google.com/d/optout. -- -- You received this message from the "vim_dev" maillist. Do not top-post! Type your reply below the text you are replying to. For more information, visit http://www.vim.org/maillist.php --- You received this message because you are subscribed to the Google Groups "vim_dev" group. To unsubscribe from this group and stop receiving emails from it, send an email to vim_dev+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.