Problem with read file
Tech-Archive recommends: Fix windows errors by optimizing your registry
Hi,
I have a problem with Compact Framework VB.Net.
I open a textfile with:
Dim sr As StreamReader
sr = File.OpenText(ParametriApplicativi.PercorsoPCFTP & "\phvrx.txt")
Then I read the line with:
strRiga = sr.Read()
The line in my Text file is 200 Characters. If in this line there is a
character '£', this character is omitted and my line in strRiga is
lenght 199 character!
Why??
--
Marco
.
Relevant Pages
- Getting around .Net Strings being UTF-16 encoded only
... I have a character that is return by a SQL Server database "É" to be ... I've seen a lot of quotes saying "All String datatype ... Dim utf8 As New UTF8Encoding ... New StreamReader(New MemoryStream(fNameBytes), utf8) ... (microsoft.public.dotnet.xml) - Re: Junk characters when using StreamReader and StreamWriter
... is just a single-byte ASCII character and Word just puts it into ... I have a VB.Net application that parses an HTML file. ... I use a StreamReader to read in the file...regular expressions to parse ... Dim sr As New StreamReader ... (microsoft.public.dotnet.languages.vb) - Re: Courtesy Review
... Dim pStrConfirm As String ... Dim bValidated As Boolean ... Dim pInvalidStr As String ... (microsoft.public.word.vba.general) - Re: Title Case: Uncapitalize articles, short prepositions, etc.
... Dim vFindText As Variant ... 'count the characters in the selected string ... 'format the selected string as title case ... 'to encompass only the first character ... (microsoft.public.word.vba.general) - Re: Cleaning up data -- any way to globally fix this??
... lowercase character followed by an uppercase character without an ... Dim rngAddSpace As Range ... For Each rngCell In rngAddSpace ... (microsoft.public.excel.misc) |
|