Error with file called "-h" (request to support "--" option)
Before calling uchardet in a script, I need to first check if the filename is literally called '-h' or '-v', and if so prefix them with a "./" before calling uchardet. (Well, I actually check for filanemes beginning with '-', but you get the point)
Rather than this kludge, could you add the traditonal "--" as an "end of options" marker?
And yes, this problem did crop up in "real life"!