Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to get French characters?
Message
 
To
09/01/2005 15:32:01
General information
Forum:
ASP.NET
Category:
Coding, syntax and commands
Miscellaneous
Thread ID:
00975526
Message ID:
00975529
Views:
15
This message has been marked as the solution to the initial question of the thread.
See if following message and replies can help StreamReader dropping characters Thread #892796 Message #892796

>I have this function to dump a file into a variable.
>
>
>    ' FileToStr() VFP equivalent
>    ' expC1 File name
>    Public Shared Function FileToStr(ByVal tcFileName As String) As String
>        Dim loFile As IO.StreamReader
>        Dim lcString As String
>        lError = False
>        cError = ""
>        Try
>            loFile = New IO.StreamReader(tcFileName)
>            lcString = loFile.ReadToEnd()
>            loFile.Close()
>        Catch loError As Exception
>            cError = loError.Message
>            lError = True
>            lcString = ""
>        End Try
>        Return lcString
>    End Function
>
>
>But, I am loosing my French characters. What should I modify in this function to preserve them?
Zakaria al Azhar
My blog on Actuaris.net
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform