fix #648:
authorulfl <ulfl@f5534014-38df-0310-8fa8-9805f1628bb7>
Thu, 12 Jan 2006 22:32:29 +0000 (22:32 +0000)
committerulfl <ulfl@f5534014-38df-0310-8fa8-9805f1628bb7>
Thu, 12 Jan 2006 22:32:29 +0000 (22:32 +0000)
commitf94c496a980cefc62931c58753f009473b1e624a
treed6d5d9f564c907736cddc29797d94d992864722b
parentd8f9e911032d6544f06903355e16bb6f8744c47f
fix #648:

Win32 only: reading a pathname from an environment var requires us to read it in as unicode somehow and convert it to utf8. Using _wgetenv should work under all circumstances on NT, using getenv and g_locale_to_utf8 on Windows OT is the best we can do in this case.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@17024 f5534014-38df-0310-8fa8-9805f1628bb7
epan/addr_resolv.c
epan/filesystem.c
epan/filesystem.h