Hong Minhee  committed ebfa378 Draft

Ensure index words to be unicode.

unicodedata.normalize() function takes only unicode for
second argument, and index words are normalized using
this function, so these should become unicode first.

  • Participants
  • Parent commits 348224a

Comments (0)

Files changed (1)

File sphinx/

         new = {}
         def add_entry(word, subword, link=True, dic=new):
+            word = unicode(word)
             entry = dic.get(word)
             if not entry:
                 dic[word] = entry = [[], {}]