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

Following command outputs the "media.type" content as a hex string in my csv file. Is there a way to write this as ascii characters in the csv file?

tshark -r xyz.pcap -T fields -e frame.number -e frame.time -e media.type -E header=y -E separator=, -E quote=d > abc.csv


asked 17 Jan '16, 17:40

hvs's gravatar image

accept rate: 0%

Is there a way to write this as ascii characters in the csv file?

Unfortunately, there isn't any; for some not-immediately-obvious reason, the "media.type" field has the type "bytes" rather than "string", meaning it gets dumped as a hex value.

Please file a bug on this at the Wireshark Bugzilla.

permanent link

answered 17 Jan '16, 19:33

Guy%20Harris's gravatar image

Guy Harris ♦♦
accept rate: 19%

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: 17 Jan '16, 17:40

question was seen: 1,241 times

last updated: 17 Jan '16, 19:33

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