VB .Net pound problem - HELP!

  • Thread starter Thread starter z
  • Start date Start date
Z

z

Help please

I am using File.Append, and writeline("£ 123.00")

but write is prefixing the £ with a char(194) when I open the file, need to
get rid of this quick, any help appreciated.

Thanks
T
 
z said:
I am using File.Append, and writeline("£ 123.00")

but write is prefixing the £ with a char(194) when I open the file, need
to get rid of this quick, any help appreciated.

Maybe you are using the wrong encoding to store the text to your file. You
may want to post the full file-access related code.
 
Michael D. Ober said:
Open your file with encoding system.text.ASCII.

Why would you recommend to use the ASCII encoding? It's very uncommon on
Windows system. Typically Windows-ANSI or UTF-8 are used.
 
Back
Top