What’s the best separator/delimiter character(s) for a plaintext db file?
I considered using |, ,, <TAB>, ;, etc. But they all seem to be possible to break when the nearby entries have special enough characters.
So, the experienced database users, what delimiter character(s) do you suggest to use?
No matter which character you choose as your separator, you’ll want to escape any instance of that character in your data.
Perhaps tilde(
~), or go to a high-ASCII character.Either way, if there’s any chance that it could sneak into your data, you’d want to escape it before writing to your plaintext file.