In these cases, a convention is normally used to map illegal characters in these "foreign" names onto the allowed set.
In the case of an HTTP server, any mapping may be used.
A suitable convention is that a percent sign (%) followed by two hexadecimal digits (0-9 or a-f) stands for the single character with ASCII hexadecimal code represented by those two digits (Most significant digit first).
A percent sign itself must therefore be represented by %25, as 25 hex is the ASCII code for "%".
_________________________________________________________________
Tim BL