I’ve reread your post. So first of all, pipe is ascii, it’s not utf-8 specific. So it should work even if you don’t activate utf-8.
So you’re saying, you want to have the pipe character in the URL itself? If yes, then you probably cannot and you most definitely shouldn’t. I’ve never seen a pipe in a url before. And the reason for that is written directly in the the error response:
The valid characters are defined in RFC 7230 and RFC 3986