Wireshark-commits: [Wireshark-commits] master bce1364: Bring back arg_list_utf_16to8(), but have it
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=bce13644e9d528a153f87019738a1582c9cae606
Submitter: "Guy Harris <guy@xxxxxxxxxxxx>"
Changed: branch: master
Repository: wireshark
Commits:
bce1364 by Guy Harris (guy@xxxxxxxxxxxx):
Bring back arg_list_utf_16to8(), but have it just do UTF-16-to-UTF-8 mapping.
Call it from wmain() in the command-line tools, passing it the input
argument count and vector, and call it from main() in Wireshark, after
getting a UTF-16 argument vector from passing the result of
GetCommandLineW() to CommandLineToArgvW().
Change-Id: I0e51703c0a6c92f7892d196e700ab437bd702514
Reviewed-on: https://code.wireshark.org/review/30063
Petri-Dish: Guy Harris <guy@xxxxxxxxxxxx>
Tested-by: Petri Dish Buildbot
Reviewed-by: Guy Harris <guy@xxxxxxxxxxxx>
Actions performed:
from 9388bd0 Qt: Clean up indentation
add bce1364 Bring back arg_list_utf_16to8(), but have it just do UTF-16-to-UTF-8 mapping.
Summary of changes:
capinfos.c | 11 ++++-------
captype.c | 11 ++++-------
dumpcap.c | 11 ++++-------
editcap.c | 11 ++++-------
mergecap.c | 11 ++++-------
randpkt.c | 11 ++++-------
rawshark.c | 11 ++++-------
text2pcap.c | 11 ++++-------
tfshark.c | 11 ++++-------
tshark.c | 11 ++++-------
ui/qt/main.cpp | 11 ++++-------
wsutil/unicode-utils.c | 14 ++++++++++++++
wsutil/unicode-utils.h | 11 +++++++++++
13 files changed, 69 insertions(+), 77 deletions(-)