OSQA is unmaintained. Help us figure out where to go from here.

I have a bunch of Wireshark LUA dissectors which populate tree contents by using LUAs tostring() method. There are places where I output double with tostring(). Now tostring() seems to use some kind of locale to determine the decimal splitter to use for doubles. On my windows host machine, which is german, I get commas in TSharks output and in a linux guest machine I get dots in TSharks output for doubles. Obviously because of the locale.

Now my thought was that I just have to change Wiresharks/TSharks locale/language. From the Wireshark UI this is no problem (Edit > Settings bla bla ...) but I'm unable to set the locale for TShark by e. g. using the following command line "$ tshark -o language:??? ...". TShark throws an error which states that the flag "language" is unknown. I even can't find a corresponding setting by calling "$ tshark -G currentprefs".

Is it even possible to set TSharks locale by command line and when... how?

asked 19 Apr, 14:45

3idet's gravatar image

3idet
61
accept rate: 0%

Be the first one to answer this question!
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "Title")
  • image?![alt text](/path/img.jpg "Title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Tags:

×790
×604
×407
×1
×1

Asked: 19 Apr, 14:45

Seen: 72 times

Last updated: 19 Apr, 14:45

p​o​w​e​r​e​d by O​S​Q​A