Felix Meschberger wrote:
... In what respect do you think this path is invalid ?If you encode an input, it has to encode the input. There is no way the method can tell, whether the second encoding is due to a programming error or is requested by intent. So the result of encoding agains sounds reasonable. ...
Or, phrased differently: encoding things usually is not an idempotent operation. Do it once, and don't do it on things that are already encoded.
BR, Julian