I am using Tomcat 8. In one case I need to handle external request coming from external source where the request has a parameters where it is separated by |.
The URI is encoded as UTF-8, but Tomcat is decoding them as ISO-8859-1. You need to edit the connector settings in the server.xml and add the URIEncoding="UTF-8" attribute.
or edit this parameter on your application.properties