URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=b85f0cbc2f7b412862f9f84faab4815a534dcc2f Submitter: "Guy Harris <g...@alum.mit.edu>" Changed: branch: master Repository: wireshark
Commits: b85f0cb by Guy Harris (g...@alum.mit.edu): Properly convert command-line arguments to UTF-8 on Windows. Do the same thing we do for most other command-line programs - on Windows, have wmain() rather than main(), convert the UTF-16 argument lists to UTF-8, and pass them on to real_main(), otherwise just have main() call real_main(). That way, they never pass through the local code page on Windows. Change-Id: Ib74176dd0586c012eabaa3376c1d7dcba8838978 Reviewed-on: https://code.wireshark.org/review/31014 Petri-Dish: Guy Harris <g...@alum.mit.edu> Tested-by: Petri Dish Buildbot Reviewed-by: Guy Harris <g...@alum.mit.edu> Actions performed: from 541fe1d Add the VCS version number to the appname option if it's a Git build. add b85f0cb Properly convert command-line arguments to UTF-8 on Windows. Summary of changes: reordercap.c | 22 ++++++++++++++++++++-- 1 file changed, 20 insertions(+), 2 deletions(-) ___________________________________________________________________________ Sent via: Wireshark-commits mailing list <wireshark-commits@wireshark.org> Archives: https://www.wireshark.org/lists/wireshark-commits Unsubscribe: https://www.wireshark.org/mailman/options/wireshark-commits mailto:wireshark-commits-requ...@wireshark.org?subject=unsubscribe