[Github-comments] [geany/geany] Provide utf-8 command line arguments on Windows (#1258)

cshu notifications at xxxxx
Fri Oct 28 06:36:57 UTC 2016


I moved most code to win32.c, and included argv[0] in conversion.

Different file systems can use various encoding for filenames. (NTFS, FAT32, etc.) But `CommandLineToArgvW` always provide filenames in UTF-16. So in the case of windows api functions, underlying file system usually should not be a problem.

It's easy to get some random CJK characters from typing code unit. (Ctrl+Shift+I on firefox/chrome, in the console, type '\u6666')

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/pull/1258#issuecomment-256847252
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.geany.org/pipermail/github-comments/attachments/20161027/401043b6/attachment.html>


More information about the Github-comments mailing list