Fichier texte Unicode

Résolu
Utilisateur anonyme - 2 juil. 2005 à 21:46
 Utilisateur anonyme - 4 juil. 2005 à 00:35
Bonjour,

Je cherche un moyen de crée un fichier texte de type Unicode en Vb.Net. Je n'y arrive pas: il me le crée tout le temps en ANSI.

Comment faire


ChRb

2 réponses

hvb Messages postés 939 Date d'inscription vendredi 25 octobre 2002 Statut Membre Dernière intervention 27 janvier 2009 3
4 juil. 2005 à 00:11
Dim utfwriter As New StreamWriter("aaa.txt", False, System.Text.Encoding.Unicode)
utfwriter.Write(ta_string_unicode)
utfwriter.Close()

Hvb aka Batto
bato.ltd at gmail.com
3
Utilisateur anonyme
4 juil. 2005 à 00:35
Merci ca marche parfaitement bien


ChRb
0
Rejoignez-nous