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

when I use tshark -r chinese-characters.cap such as "tshark -r 中文.cap" It says that the file name is invalid. How could I resolve this problem?


asked 13 Apr '11, 07:47

janequeen's gravatar image

accept rate: 0%

The obvious workaround is to either rename the file before opening it with tshark (or create a link or shortcut to the original file).

Which version of tshark are you running? I believe there has been some work done recently on handling non-ascii filenames. Could you try version 1.5.1?

permanent link

answered 13 Apr '11, 07:59

SYN-bit's gravatar image

SYN-bit ♦♦
accept rate: 20%

Thanks. version 1.5.1 supports non-ascii filenames.

(14 Apr '11, 05:47) janequeen

Good to hear you were able to solve your issue with version 1.5.1!

(I changed your "answer" to a "comment", as that's the way this site works best, please see the FAQ. Also, to get this question of the "unanswered questions" list, you can accept an answer by clicking on the checkmark on the left of the answer)

(14 Apr '11, 11:12) SYN-bit ♦♦
Your answer
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: 13 Apr '11, 07:47

question was seen: 4,694 times

last updated: 14 Apr '11, 11:12

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