Topic: Variant to ANSI a TXT-file
It was puzzled with the general-purpose transport of the data between forms, applications and files.
Task essence: to send field values and values in an ANSI-file and it is reverse lost-free.
Why ANSI? For scalability. To store in any container: any DB (including ), any file (ini, txt, csv), register Win.
Primary data can be in any form and the coding including the unicode. Can be and the binary fields, different types Float, Dates with time to . Distinct transmission of empty values (it is good if an empty line/0/NULL will be different concepts).
Coding of the data in an ANSI-file can be on choice HEX/base64/MIME and so forth not in essence. XML/JSON/TXT - it is not basic.
The main thing - conversion there and reversely without superfluous .
While speech about an exchange between wines-appendices, i.e. everyones NIX with their strange dates while we lower.
Initially we admit that each "field" after transportation gets to a proper place: int in int, Float in Float, date in date, in .
The task not such simple as can seem at first sight.
So, we exchange experience, links and so forth