Re: String.Replace Anomoly



Levidikus <james.hunt@xxxxxxxxx> wrote:
[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.

--
Jon Skeet - <skeet@xxxxxxxxx>
http://www.pobox.com/~skeet Blog: http://www.msmvps.com/jon.skeet
If replying to the group, please do not mail me too
.