Wireshark-commits: [Wireshark-commits] rev 35086: /trunk/epan/ /trunk/epan/: to_str.c

Date: Wed, 01 Dec 2010 01:31:55 GMT
http://anonsvn.wireshark.org/viewvc/viewvc.cgi?view=rev&revision=35086

User: wmeier
Date: 2010/11/30 05:31 PM

Log:
 On Windows: convert _tzname[] strings from the system charset to UTF8 before use.
 
  In the Windows C Runtime the strings in the global array _tzname[]
    are encoded using the "system default ansi code page".
    They must be converted to UTF8 before use by Wireshark/GTK.
    (See comment in the code for details).
 
    Fixes Bug #5421 (I hope).
    https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=5421
 
 Also: Fix bug: when the timezone name is not available from the system
       ?ST was used when ?DT should have been used (and vice-versa).

Directory: /trunk/epan/
  Changes    Path          Action
  +49 -18    to_str.c      Modified