Author Topic: CSV (excel), and txt (ANSI)  (Read 22332 times)

bonis

  • Newbie
  • *
  • Posts: 4
CSV (excel), and txt (ANSI)
« on: June 02, 2009, 10:56:27 PM »
Hello All,

Just wondering why TrID cannot check the format of CSV (data exported from an Excel spreadsheet).
Actually it's kind of txt (ANSI). Is there a way to check both of these two pupular types ?

Thanks for your help.

Mark0

  • Administrator
  • Hero Member
  • *****
  • Posts: 2743
    • Mark0's Home Page
Re: CSV (excel), and txt (ANSI)
« Reply #1 on: June 02, 2009, 11:01:29 PM »
Hi!

Currently TrID isn't very well suited to analyze text files; it can works just with that text formats that have a pretty strong characterization, like a common string at the start, or something like that.
With a different approach (statistical, for example) some more formats could be recognized, like sources code.

But, considering that:
Quote
"a";"b";"c"
"Rome";"Boston";"Paris"
or
Quote
1

could be both two valid CSV files (the latter of one record numeric field with just one numeric field), this in particular it's a  pretty challenging format to recognize...

Bye!

bonis

  • Newbie
  • *
  • Posts: 4
Re: CSV (excel), and txt (ANSI)
« Reply #2 on: June 02, 2009, 11:10:17 PM »
I understand. But is it possible to send  a result as "txt" ?
Right now, TrID gives the result as "unknown!" even with a real "txt" file.

Thanks.

Mark0

  • Administrator
  • Hero Member
  • *****
  • Posts: 2743
    • Mark0's Home Page
Re: CSV (excel), and txt (ANSI)
« Reply #3 on: June 02, 2009, 11:42:14 PM »
TrID (the command line version) show it as a warning:

Code: [Select]
Warning: file seems to be plain text/ASCII
         TrID is best suited to analyze binary files!

other than that, it cannot be identified as some other generic file format.

Bye!

bonis

  • Newbie
  • *
  • Posts: 4
Re: CSV (excel), and txt (ANSI)
« Reply #4 on: June 03, 2009, 04:21:58 PM »
I am using command line (DOS) with the latest version http://mark0.net/download/trid_w32.zip,
but only get a message of "Unknown"  with "txt" files.  Am I doing right ?

Thanks.

Mark0

  • Administrator
  • Hero Member
  • *****
  • Posts: 2743
    • Mark0's Home Page
Re: CSV (excel), and txt (ANSI)
« Reply #5 on: June 03, 2009, 04:24:16 PM »
Here's a complete screenshot:

Code: [Select]
C:\TrID>trid readme_e.txt

TrID/32 - File Identifier v2.02 - (C) 2003-06 By M.Pontello
Definitions found:  3776
Analyzing...

Collecting data from file: readme_e.txt

Warning: file seems to be plain text/ASCII
         TrID is best suited to analyze binary files!

       Unknown!

C:\TrID>

The warning should show up just about the results list (or the unknown, like in this case).

Bye!

bonis

  • Newbie
  • *
  • Posts: 4
Re: CSV (excel), and txt (ANSI)
« Reply #6 on: June 03, 2009, 04:58:50 PM »
I see the problem. I use it for a wildcard scan, it has less result.

Thanks again.