That's entirely the shell's doing.
In reply to Re^2: how are ARGV and filename strings represented? by ikegami in thread how are ARGV and filename strings represented? by almr