Wireshark-commits: [Wireshark-commits] master-2.4 259b5de: Treat the strings for simple dialogs as
From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Tue, 18 Dec 2018 09:49:56 +0000
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=259b5dea2bc5d001c0f4c0b20132fca5c69473d2
Submitter: "Guy Harris <guy@xxxxxxxxxxxx>"
Changed: branch: master-2.4
Repository: wireshark

Commits:

259b5de by Guy Harris (guy@xxxxxxxxxxxx):

    Treat the strings for simple dialogs as UTF-8 on Windows.
    
    On Windows, filename strings inside Wireshark are UTF-8 strings, so
    error messages containing file names are UTF-8 strings.  Convert from
    UTF-8, not from the local code page.
    
    Bug: 15367
    Change-Id: I52f3de2606ec6a592e7cb82b1a9aaeeef8acecef
    Reviewed-on: https://code.wireshark.org/review/31090
    Petri-Dish: Guy Harris <guy@xxxxxxxxxxxx>
    Tested-by: Petri Dish Buildbot
    Reviewed-by: Guy Harris <guy@xxxxxxxxxxxx>
    (cherry picked from commit ae83101dd5643c3852ca67ffb331cd8dbd20c727)
    Reviewed-on: https://code.wireshark.org/review/31092
    

Actions performed:

    from  4594f47   Add routines to load Lua programs that assume the path is UTF-8 on Windows.
     add  259b5de   Treat the strings for simple dialogs as UTF-8 on Windows.


Summary of changes:
 ui/qt/simple_dialog.cpp | 12 ++++++++++++
 1 file changed, 12 insertions(+)