Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to get French characters?
Message
 
À
09/01/2005 15:32:01
Information générale
Forum:
ASP.NET
Catégorie:
Code, syntaxe and commandes
Divers
Thread ID:
00975526
Message ID:
00975529
Vues:
14
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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform