Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Unicode conversion.
Message
De
07/01/2004 06:50:47
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Unicode conversion.
Divers
Thread ID:
00864558
Message ID:
00864558
Vues:
50
I have a tab delimited text file in unicode that I then convert like so.

STRTOFILE(STRCONV( FILETOSTR('c:\temp\text1.txt'), 6 ),'C:\temp\textfixed.txt')

This works fine except for some null fields in the text file.

I have looked at both files with a hex editor and below is where the problem
lies.

text1.txt

Hex Text File
32 00 30 00 30 00 09 00 00 00 09 00 00 00 09 -> 200 TAB NULL TAB NULL

textfixed.txt

Hex Text File
32 30 30 09 00 09 00 09 -> 200 TAB NULL TAB NULL

This used to work fine and the old file had the following when fixed:

Hex Text File
32 30 30 09 20 09 20 09 -> 200 TAB NULL TAB NULL


I need to have the file like it used to be, does anyone have any ideas.
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform