Title: Custom authentication (add_filter) &#8211; username encoding
Last modified: August 31, 2016

---

# Custom authentication (add_filter) – username encoding

 *  [lulutchab](https://wordpress.org/support/users/lulutchab/)
 * (@lulutchab)
 * [10 years, 1 month ago](https://wordpress.org/support/topic/custom-authentication-add_filter-username-encoding/)
 * Hello,
 * I used the information on this page ([http://ben.lobaugh.net/blog/7175/wordpress-replace-built-in-user-authentication](http://ben.lobaugh.net/blog/7175/wordpress-replace-built-in-user-authentication))
   to install my custom authentication.
 * It works correctly except if the user has a character with an accent in the username(
   ie: à, é,…).
    I did a few tests and find out that the username passed as argument
   to the custom authenticate function is not exactly the one I entered in the login
   form. For example, if I enter “luciené”, the custom authenticate function receive“
   luciene” as parameter for username.
 * WordPress seems to reencode the remove the accent on the characters… Is it possible
   to change this?
 * Thank you in advance

The topic ‘Custom authentication (add_filter) – username encoding’ is closed to 
new replies.

## Tags

 * [encoding](https://wordpress.org/support/topic-tag/encoding/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 0 replies
 * 1 participant
 * Last reply from: [lulutchab](https://wordpress.org/support/users/lulutchab/)
 * Last activity: [10 years, 1 month ago](https://wordpress.org/support/topic/custom-authentication-add_filter-username-encoding/)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
