This is our old Q&A Site. Please post any new questions and answers at

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 '17, 14:45

3idet's gravatar image

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



Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text]( "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

Question tags:


question asked: 19 Apr '17, 14:45

question was seen: 1,177 times

last updated: 19 Apr '17, 14:45

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