Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Character Sets
Message
De
11/09/2014 06:43:39
Lutz Scheffler
Lutz Scheffler Software Ingenieurbüro
Dresden, Allemagne
 
 
À
11/09/2014 06:19:57
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows Server 2012
Network:
Windows 2008 Server
Database:
MS SQL Server
Application:
Web
Divers
Thread ID:
01607355
Message ID:
01607383
Vues:
44
>>>>Since the checksum is just digits, which are the same in all codepages, you couldn't have added any content which would be in a codepage different from the rest of the file.
>>>
>>>Not necessarily true.
>>>
>>>Only true if
>>>(1) txt file with UTF8 BOM, or
>>>(2) txt file without BOM
>>
>>Nope
>>
>>The chars added will follow the BOM / not BOM.
>>If you open up a dbf, add something and write, it will follow the rules of the dbf. It might corrupt the file - but it will be interpreted as a part of a dbf.
>
>Sure, the chars added will be after the BOM.
>
>And still, if you add chars ( = bytes in this case) below 0x80 and the text file has a UTF16 BOM, you are in trouble - guaranteed

I agree with this. But for the prog reading the file the bytes follow the UTF16 BOM. So they ARE in UTF 16 BOM - wether or not they are meaningless. :)

So you could not add something different to the underlaying format, because you can not change the definition.

Well, this is just text file. :)
Words are given to man to enable him to conceal his true feelings.
Charles Maurice de Talleyrand-Périgord

Weeks of programming can save you hours of planning.

Off

There is no place like [::1]
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform