<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Aug 7, 2018 at 10:44 PM, Nikos Alexandris <span dir="ltr"><<a href="mailto:nik@nikosalexandris.net" target="_blank">nik@nikosalexandris.net</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Vaclav:<div><div class="h5">
<span class=""></span></div></div><span class=""><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><br>
That being said, this is not set in stone. For example, some modules could<br>
benefit from something like formalized "suggested values" as opposed to<br>
"the only allowed values", but "suggested values" is still not the same as<br>
"special characters" here or generally "specially treated values".<br>
</blockquote>
<br></span>
Maybe I am over-thinking about it: is it wrong to allow _all_ characters<br>
being used as separators except of the set of characters that have a<br>
special meaning to the underlying OSes or else would cause any sorts of<br>
problems?<br></blockquote><div><br></div><div><br></div><div>This comment was really general, not necessarily related to field separators in text files. Anyway, the problem with separators is really to have the separator in the command line written without any escaping or quoting. To avoid thinking about when and how to do it, we provide these special values such as "pipe" which are the replaced by the corresponding character (but themselves are completely safe/harmless). Additionally, these special characters are good for readability `separator=,` or `, separator=',', in Python` look little strange and whitespace characters may suffer from combination of both. Of course then there is the problem with conflict with characters in the file. Comma as separator and comma as "decimal point" would be the typical example from Czech environment. How we avoid that is that we let user to decide on the separator and we are using pipe as a default since it is an unusual character in text (but also quite know and visually appropriate at the same time if you are dealing with command line).<br></div><div><br></div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
Then, describe this like "Supported characters are only..." or "All<br>
characters supported except of ..."?<br></blockquote><div><br></div><div><br></div><div>Disallowing characters is not really desired for the separator, but generally the "only supported characters/values" behavior is what the options item is doing. The "all values except these" behavior, basically a negation of the options item is something we don't have in the parser (but we probably don't have any use of it either at this point).<br></div><div><br></div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
Great answer Vaclav!<br></blockquote></div></div><div class="gmail_extra"><br></div><div class="gmail_extra">Thanks!<br></div></div>