I am trying to parse a file
using ReadAllText. The log file has a summary section and then an array of data. The file is not in standard AISCII. Am I using the correct method and do I just need to find the correct character encoding or am I missing something? Is there an free/share application that can load the file with different encoding to see which one is correct?
The file looks like when I open it in Wordpad:
6 mi steady+WarmUp 1.00 mi
Run 4 mi 50-80%
Recover 1 mié°R
MÀ•\&Uþÿ'.
27*UþÿQ}-†MˆlŒ•¬—͘.˜O—n–"¯’Ðñ’3•U•v"—’¸×’õ’‡)Hh’ˆ’©"Ê"ë—
˜+›Lžl›¯—Ð’ñŒ1’P˜o˜›¯œÎší™
(... for a 300 k file)
I can attach/send the complete file if it would help.
Thanks.
Mark
Mark FlemingPosted Dec 29, 2005, 7:09 AM
Update - I created a little app that displayed the text and used a combo box to select the encoding. However, I did not find an encoding that displayed the correct characters. It seems that letters are displayed properly, but numbers are not. Since the file is a summary section and then a large array of numbers, is there another method that the numbers could be stored in?
Thanks.
Mark