In my application I\'m getting the user info from LDAP and sometimes the full username comes in a wrong charset. For example:
ТеÑÑ61 ТеÑÑовиÑ61
In your web-application, you may declare an encoding-filter that makes sure you receive data in the right encoding.
Explicitly set the encoding of the page to UTF-8
encodingFilter
org.springframework.web.filter.CharacterEncodingFilter
encoding
UTF-8
forceEncoding
true
A spring provided filter makes sure that the controllers/servlets receive parameters in UTF-8.