(imported topic written by bchae91)
Is there a way to read text from a Unicode Text file. The unicode text file I am trying to read only has one integer in it. When i use the relevance below i just get a bunch of jibberish.
line 1 of file “C:\test1.txt”
(imported comment written by BenKus)
Can you post the file and we can take a look at it?
Ben
system
December 8, 2011, 9:14pm
3
(imported comment written by bchae91)
Here you go.
Noah
June 6, 2009, 4:12am
4
(imported comment written by NoahSalzman)
For those curious what is inside this file but don’t want to download it:
$ hexdump 1.txt
0000000 ff fe 30 00 0d 00 0a 00
0000008
(imported comment written by jessewk)
I don’t know if this will always work, but it does for that particular file:
Q: preceding texts of lasts “%00” of following texts of firsts “%ff%fe” of lines of file “c:\documents and settings\administrator\desktop\1.txt”
A: 0