|
web
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
VB .Net pound problem - HELP!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 Can you please send the entire source code so we can test it
Samuel Show quoteHide quote "z" <z@home.com> wrote in message news:I8_Cg.36792$Ca.28933@fe1.news.blueyonder.co.uk... > 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" <z@home.com> schrieb: Maybe you are using the wrong encoding to store the text to your file. You > 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. may want to post the full file-access related code. -- M S Herfried K. Wagner M V P <URL:http://dotnet.mvps.org/> V B <URL:http://classicvb.org/petition/> Open your file with encoding system.text.ASCII.
Mike. Show quoteHide quote "Herfried K. Wagner [MVP]" <hirf-spam-me-here@gmx.at> wrote in message news:Ooy%23sKVvGHA.3372@TK2MSFTNGP02.phx.gbl... > "z" <z@home.com> schrieb: >> 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. > > -- > M S Herfried K. Wagner > M V P <URL:http://dotnet.mvps.org/> > V B <URL:http://classicvb.org/petition/> "Michael D. Ober" <ober***@.alum.mit.edu.nospam> schrieb: Why would you recommend to use the ASCII encoding? It's very uncommon on > Open your file with encoding system.text.ASCII. Windows system. Typically Windows-ANSI or UTF-8 are used. -- M S Herfried K. Wagner M V P <URL:http://dotnet.mvps.org/> V B <URL:http://classicvb.org/petition/>
Can a .NET Web Service be accessed from a VB6 Client?
Is there a statement that will completely empty a listbox? Event handlers DataGridView Column Alignment Trouble with pixels Quesion about ADO.NET in VB.NET Threading Question How to code image path relative to project Tip of The Day Application Priority |
|||||||||||||||||||||||