I have a TSV file with string data in it that I want to import. While the TSV format is correctly parsed into a Mathematica table format using Import[<file>,"Table"]
, the actual text content is oddly formated.
A minimum example that reproduces the problem is this:
I have a text file called text.txt
. Its only content is test
.
When I use either of the commands ReadList["text.txt"]
or Import["text.txt"]
I obtain as output:
ÿþt e s t
(visually)
When I copy paste the above visual output into a text editor, it reads as:
"ÿþt\.00e\.00s\.00t\.00"
How is it possible to obtain the expected output: test
?
This is Mathematica 11.2 running on Win 10.