himselfv / wakan

Japanese and Chinese learning tool with dictionary
39 stars 7 forks source link

Entries with {} in them aren't displayed correctly #101

Closed himselfv closed 11 years ago

himselfv commented 11 years ago

Original report by me.

Originally reported on Google Code with ID 101

Since Wakan 1.67. 

Wakan uses "kanji [kana] {entry text} rest" format to store translations retrieved
from the dictionary in memory.
Therefore any occurence of } in text made Wakan cut it at that point.

As a quick fix, this was remedied by replacing {} with () when generating entries from
the dict.
Fixed @r317.

Unfortunately, Wakan probably stores entries in this (textual!) format in user vocabulary,
so we can't just change the format.
I guess there will be a point at which I'll write a vocabulary conversion procedure
and convert it to simply normal dictionary format + some enhancement tables.

Reported by himselfv on 2013-02-01 07:09:22