Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Character Sets
Message
From
11/09/2014 06:43:39
Lutz Scheffler
Lutz Scheffler Software Ingenieurbüro
Dresden, Germany
 
 
To
11/09/2014 06:19:57
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows Server 2012
Network:
Windows 2008 Server
Database:
MS SQL Server
Application:
Web
Miscellaneous
Thread ID:
01607355
Message ID:
01607383
Views:
45
>>>>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]
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform