Hi mattn,
2015/11/1 Sun 0:01:27 UTC+9 mattn wrote: > > Thanks. Is there any corner case where we would need a few more bytes > > than MAXPATHL? > > In utf-8, max bytes of letter should be 4. So MAXPATHL * 4. No, I don't think so. On Windows, MAX_PATH (260) characters in WCHAR is the maximum path length. So the length is MAX_PATH * 3 bytes in UTF-8. In my understanding, MAXPATHL (1024) is the maximum characters of the path in char_u which is encoded with 'encoding'. So MAXPATHL is enough. Regards, Ken Takata -- -- 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.
