Tags that begin with a capital letter with an accent or other diacritical mark do not show up in the autocomplete if no fandom is entered


Originally reported on Google Code with ID 3623

What archive revision are you testing on?


What steps will reproduce the problem?

  1. Start to enter a common/canonical tag that starts with a capital letter with a diacritical
    mark in a posting or search form

What is the expected output? What do you see instead?

Expect to see the tag show up in the autocomplete list. Instead, do not.

These tags won't come up if you type the capital letter with the mark, the capital letter without the mark, or the lowercase letter with the mark.

If the letter with the diacritical mark is not the first letter of the tag, it won't have this problem and will properly appear.

Reported in ticket https://otw.16bugs.com/projects/4911/bugs/259586

From the ticket:

"Tags that start with capital letters with diacritics or some other upper-case special characters don’t come up in tag autofill – typing the capital letter will bring up tags with words that start with the lower-case version (if any) but not tags that begin with the upper-case version; the lower-case letter doesn’t bring up tags that use the upper-case either.

Examples of tags that won’t appear in autofill: Éomer ; Çagap ; Álvaro should bring up three different Sports RPF people but doesn’t; Østenfor should bring up ‘Østenfor sol og vestenfor måne | East of the Sun and West of the Moon’ but doesn’t.

Punctuation works, as do lower-case special characters, but so far every upper-case special character I’ve tried has had this problem."


This bug only happens if you don’t enter a fandom.

Autocomplete data will need to be regenerated for this fix to apply to existing tags.


October 12, 2019, 2:32 PM

Updated the instructions and issue name to reflect that this bug only happens if there is no fandom entered.

Also retested and confirmed the behavior is mostly the same if I don’t enter a fandom. I say “mostly” because the suggestions become

  • Óin

  • Glóin & Óin’s Mother

whereas if I enter a fandom, the suggestions are

  • Glóin

  • Óin

  • Gróin

  • Gróin’s Canonical Wife


October 13, 2019, 8:30 AM

I am a fool, and I tested on Production, not staging, which of course only reproduced the bug. I have deleted the comment because it adds no new information and was not useful.

I am happy to report that having tested on the TEST Archive, it works a lot better.

Entering É brings up Éowyn, Éomer, etc. under characters, whether or not a fandom is selected.

Entering “Éo”, “Éom”, “Éow” or similar brings up a narrowed list of characters as expected.

Similarly, if a fandom is selected, then appropriate characters for that fandom are prioritised in the suggestions, as expected.

On Production, the behaviour described for Characters was also true of Fandoms (that is, entering an accented letter such as É would show nothing beginning by É on the autocomplete). On Stating, the behaviour is better. If I type É it brings up “Olympia - Édouard Manet”, for example.

Tested it also on the filter siderbar, under “Other tags to include” Characters such as Éomer, relationships such as Éomer/Lothíriel and freeforms such as E/R/É Shipping Festival were all suggested.

Relle Veyér
October 13, 2019, 9:05 AM

Tested with Ólafur Árnason, a character who is completely impossible to make appear in the autocomplete on production if the fandom isn’t entered first. (Contrary to what the issue text says, the issue doesn’t apply to only the first letter in the tag – it seems to apply to the first letter of any word in the tag. Typing “Árnason” on production will not return any results. You can also see this with the fandom “Olympia - Édouard Manet” Izzy mentioned above.)

Typing “Ól” in the Characters field on the Post Work form, with no fandom selected, will make Ólafur Árnason appear in the autocomplete. Typing “Á” or “Ár” will also make it appear. Using the lowercase “ó” or “á” has the same result. Entering the fandom first also has the same result. Seems fixed now :D

November 11, 2019, 5:14 AM

Marking as PAOB since we haven't run bundle exec rake autocomplete:reload_data on beta yet.

December 22, 2019, 4:34 AM

We ran bundle exec rake autocomplete:reload_tag_data on beta on Dec 21. The task took ~3.5h for ~884k canonical tags.



ticking instant




Tag Wrangling



Affects versions


Fix versions






Internal 0.9

Google Code Issue ID