Wireshark-bugs: [Wireshark-bugs] [Bug 2811] New: CSV issue if local decimal separator is a comma

Date: Mon, 18 Aug 2008 05:31:38 -0700 (PDT)
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=2811

           Summary: CSV issue if local decimal separator is a comma
           Product: Wireshark
           Version: 1.0.2
          Platform: PC
        OS/Version: Windows XP
            Status: NEW
          Severity: Normal
          Priority: Low
         Component: Wireshark
        AssignedTo: wireshark-bugs@xxxxxxxxxxxxx
        ReportedBy: stijn.hendrickx@xxxxxxxxx


Build Information:
Version 1.0.2 (SVN Rev 25698)

Copyright 1998-2008 Gerald Combs <gerald@xxxxxxxxxxxxx> and contributors.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

Compiled with GTK+ 2.12.8, with GLib 2.14.6, with WinPcap (version unknown),
with libz 1.2.3, without POSIX capabilities, with libpcre 7.0, with SMI 0.4.8,
with ADNS, with Lua 5.1, with GnuTLS 2.3.8, with Gcrypt 1.4.1, with MIT
Kerberos, with PortAudio V19-devel, with AirPcap.

Running on Windows XP Service Pack 2, build 2600, with WinPcap version 4.0.2
(packet.dll version 4.0.0.1040), based on libpcap version 0.9.5, without
AirPcap.

Built using Microsoft Visual C++ 6.0 build 8804

Wireshark is Open Source Software released under the GNU General Public
License.

Check the man page and http://www.wireshark.org for more information.
--
Hi,

I'm from Belgium and the local decimal separator is a comma (,). So, in
Windows, the comma is configured as the decimal separator.

This is an issue when exporting values from e.g. the 'Conversations' dialog, as
decimal values are split into two columns...

e.g.
Address A,Port A,Address B,Port B,Packets,Bytes,Packets A->B,Bytes A->B,Packets
A<-B,Bytes A<-B,Rel Start,Duration,bps A->B,bps A<-B
172.16.4.203,23273,192.168.97.7,12222,566,153473,0,0,566,153473,0.035641000,8,9067,N/A,137849,87

Changing my Windows "Regional Options" helped, but I still want to use the
comma as decimal separator...

Using " helps, e.g.:
"Address A","Port A","Address B","Port B","Packets","Bytes","Packets
A->B","Bytes A->B","Packets A<-B","Bytes A<-B","Rel Start","Duration","bps
A->B","bps A<-B"
"172.16.4.203","23273","192.168.97.7","12222","566","153473","0","0","566","153473","0.035641000","8,9067","N/A","137849,87"


-- 
Configure bugmail: https://bugs.wireshark.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.