Yasuhiro Matsumoto wrote: > > Yasuhiro Matsumoto wrote: > > > >> I hope to be handled this issue soon. Because > >> > >> C:\>vim あ* > >> > >> Doesn't work when encoding=utf-8. > > > > What is your system locale set to? I did implement logic for handling > > command line arguments and switching 'encoding' long ago. I wonder why > > it doesn't work in your situation. > cp932 is system encoding. and encoding=utf-8. > > This is not a direct issue about encoding convertion. mingw compiler > expand wildcard always. So it is difference between 'argv from main' > and 'argv from CommandLineToArgv'.
OK, now I see what you are doing. I'm wondering if calling get_cmd_argsW() would fail in any situation. Perhaps we should fall back to the original argc and argv when it fails? I'll add some more checks to avoid leaking memory. -- hundred-and-one symptoms of being an internet addict: 104. When people ask about the Presidential Election you ask "Which country?" /// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net \\\ /// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\ \\\ an exciting new programming language -- http://www.Zimbu.org /// \\\ help me help AIDS victims -- http://ICCF-Holland.org /// -- -- 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 [email protected]. For more options, visit https://groups.google.com/d/optout.
