Outputing a copy right symbol

  • Thread starter Thread starter John Cantley
  • Start date Start date
J

John Cantley

I need to output the a copyright symbol to a text file. However, when a
third party app imports this textfile I get an eifel tower looking symbol
preceding it. Textpad doesn't show it but Wordpad does. I can't find how to
output this symbol correctly. I have tried the @ literal in front of the
string but my research finds that it is because of the inability of the 3rd
party app to read utf-8 encoded text. I find that in xml I can use &#169 to
output this to a webpage but I need it outputed to a plain text file. Any
ideas?

jc
 
John,
party app to read utf-8 encoded text.
Use something other then utf-8 encoded text. I would consider ANSI text
instead, as the copyright symbol in less then char ordinal 256.

You can use the Encoding class in System.Text to create different encoding
classes which you can use with the System.IO objects that you are using to
create the file.

Hope this helps
Jay
 
Back
Top