good reading a textfile
- From: "andreas" <andreas@xxxxxxxxxx>
- Date: Sat, 13 May 2006 14:37:15 GMT
A textfile can have different formats like ANSI,UTF8, Unicode ...
Using streamreader for a textfile can have different results for chars like
é,à,è....depending of the fileformat.
To solve this problem I have in the code analysed the chars in the beginning
of the textfile, named the BOM to see the system.text.encoding for using
this information in the streamreader.
But my question is :
Is there a way that vb.net can do this automatically?
Thanks for any response
.
- Follow-Ups:
- Re: good reading a textfile
- From: Rick Rothstein
- Re: good reading a textfile
- Prev by Date: Re: small printer font size problem revisited...
- Next by Date: Re: good reading a textfile
- Previous by thread: Resource File Question
- Next by thread: Re: good reading a textfile
- Index(es):
Relevant Pages
|