Cannot Suggest Special Characters

Behavior

When mapping normal english words to special unicode characters (i.e. "lambda": "λ") in the custom-words.json file, textsuggest will not be able to suggest the special character, and will replace it with the normal english word instead (i.e. suggests lambda when it should suggest λ). Not only is the incorrect word suggested, but the incorrect word is also over-written in the custom-words.json file. Is this behavior intentional? I would think the expected behavior would be to substitute in the correct character.

Relevant Machine Specs

Spec Description
OS Fedora release 29 (Twenty Nine) x86_6
Kernel 5.0.4-200.fc29.x86_64
Packages 2046 (rpm), 8 (flatpak)
Shell zsh 5.6.2
DE GNOME 3.30.2
WM GNOME Shell
WM Theme Adwaita
Theme Adapta-Nokto [GTK2/3]
Terminal gnome-terminal

Steps to reproduce

  1. Put a special character in ~/config/textsuggest/custom-words.json ("lambda": "λ" did it for me)
  2. Try get textsuggest to complete it (I used the command textsuggest --custom-words-only and just typed it in)
  3. See Bug
Assignee Loading
Time tracking Loading