# @mention full name autocomplete doesn't work with international characters

**URL:** <https://meta.discourse.org/t/mention-full-name-autocomplete-doesnt-work-with-international-characters/29819>\
**Category:** Feature\
**Created:** [2015 年6 月 9 日 20:09 UTC](https://meta.discourse.org/t/mention-full-name-autocomplete-doesnt-work-with-international-characters/29819 "2015-06-09T20:09:12Z")\
**Posts on this page:** 1\
**Showing post:** 16

<div class="post-metadata">

作者： ![gerhard](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/gerhard/32/119479_2.png) [@gerhard](https://meta.discourse.org/u/gerhard)\
发布日期： [2015 年6 月 10 日 18:59 UTC](https://meta.discourse.org/t/mention-full-name-autocomplete-doesnt-work-with-international-characters/29819/16 "2015-06-10T18:59:01Z")

</div>

I’m not sure that it was wise to remove the entire regex. Shouldn’t we at least stop the autocomplete when a space is entered?

With this change I need to explicitly select an entry from the autocomplete dialog with the enter key.  
Otherwise the autocomplete dialog shows up when I write someones name followed by a space even if the mentioned name matches an existing user.

For example `@sam` followed by a space results in this:  
 ![](https://global.discourse-cdn.com/meta/original/3X/6/4/64f47916c64f761ae537697e01f2f74e7676ebc2.png)

Either stop matching when a space is entered or don’t show the autocomplete dialog when there’s already an exact match on the name and a space was entered.

---

_[View the full topic](https://meta.discourse.org/t/mention-full-name-autocomplete-doesnt-work-with-international-characters/29819)._
