Posted by: Jeff Luther
Not sure how you wrote pw.txt, but the problem is shown in the jpg. You
have *every byte* as 94 (that's hex for 148).
Since the first 2 bytes of the file are not the BOM "FF FE" TD is
reading it in as an ANSI file. Same with Notepad. (You can see what
Notepad thinks that file format is: Read it in, then Save As... and note
the "Save as Type" it select. On my U.S. PC it shows "Text Document".)
I have corrected your PW.txt file to show what the format for char 148
(hex 94) is supposed to look like in the file that is in unicode format,
at least on my PC. char 148 doesn't show up on the field for me; likely
I don't have the correct font. But your apt now correctly lops the first
char out as 148.
Anyway, I'll enclose a zip of the correct txt and and sample APT. I
would recommend you read up on ansi vs. unicode and get yourself a hex
editor utility like HexEdit: www.hexedit.com
It is a good way to diagnose a problem. You thought there was a bug in
TD; it was your text file (and assumptions) that were the issue.
Jeff @ PC Design
info. & samples: www.JeffLuther.net/unify/