String.Replace Anomoly

J

Jon Skeet [C# MVP]

Levidikus said:
[snip]

Thank you again for all of the outstanding responses.

The file that I am working with is originated on a solaris 8 unix
system. How would I go about identifying the correct "encoding"?

You need to find out what's producing the file, and look at the
documentation for it. If it doesn't document the encoding used, you'll
need to look at the output for various different characters :(
Also, with the File.ReadAllText(), would I even need a streamreader
for that?

No, it does it all internally.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top