in reply to Re: Read text file - Encoding problem?
in thread Read text file - Encoding problem?
Hi McA,
Thanks for that script. It seems that it is not a problem of encoding. I checked both text files, which are used to be read into a filehandle. There is a difference regular ocurring: Each line of the "bad" text file which was parsed from the csv and which is not working has a -d- at its end, while the lines of the "good" text file which is working with my script have not:
eg:  I C 7700 -> 49-20-43-20-37-37-30-30-    #good
   I C 7700 -> 49-20-43-20-37-37-30-30-d     #bad
and what I get reading the directory:
  I C 7700.jpg -> 49-20-43-20-37-37-30-30-2e-4a-50-47
What does that mean? What stands "d" for?
better
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Read text file - Encoding problem?
by better (Acolyte) on Mar 17, 2013 at 12:18 UTC | |
by poj (Abbot) on Mar 17, 2013 at 12:50 UTC | |
by better (Acolyte) on Mar 17, 2013 at 15:14 UTC |