# Username completition broken for names with accents like Régis

**URL:** <https://meta.discourse.org/t/username-completition-broken-for-names-with-accents-like-regis/65934>\
**Category:** Bug\
**Created:** [10 Luglio 2017, 12:30pm UTC](https://meta.discourse.org/t/username-completition-broken-for-names-with-accents-like-regis/65934 "2017-07-10T12:30:57Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![rriemann](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/rriemann/32/115238_2.png) [@rriemann](https://meta.discourse.org/u/rriemann)\
**Post date:** [21 Luglio 2017, 8:25am UTC](https://meta.discourse.org/t/username-completition-broken-for-names-with-accents-like-regis/65934/4 "2017-07-21T08:25:09Z")

</div>

In Europe, we have quite a few countries with numerous non-ASCII first and lastnames: Máté,  
Zétény, Márton, Clémence, Léonie, Aïcha, etc.

So if for instance our German and English speaking forum users try to find or tag those people without having these accents on their keyboard, one might believe the database is incomplete. They just don’t appear if you type the first few letters.

tl;dr: Having this working is really important for regions with more heterogeneous character sets.

Rails should have some helpers therefore:

> <https://stackoverflow.com/questions/15686752/ruby-method-to-remove-accents-from-utf-8-international-characters/15696883#15696883>

```ruby
1.9.3p392 :001 > require "i18n"
 => true
1.9.3p392 :002 > I18n.transliterate("Hé les mecs!")
 => "He les mecs!"

```

---

_[View the full topic](https://meta.discourse.org/t/username-completition-broken-for-names-with-accents-like-regis/65934)._
