dimkanovikov / KITScenarist

Screenwriting software.
http://kitscenarist.com
GNU General Public License v3.0
330 stars 46 forks source link

Custom dictionary does not save #673

Closed imgforge closed 6 years ago

imgforge commented 6 years ago

dictionary.zip

Custom dictionary does not save. See example.

dimkanovikov commented 6 years ago

Thanks. Will be rechecked.

dimkanovikov commented 6 years ago

@imgforge I checked it and it works correctly. What version are you use and what operating system?

imgforge commented 6 years ago

0.7.2 Beta 7 Windows 10 English

dimkanovikov commented 6 years ago

Are you use the installed version of the application or portable?

imgforge commented 6 years ago

The installed version

imgforge commented 6 years ago

And also, remember the screenshots I sent where words containing punctuation, symbols, etc. will not save - i.e., screen-play would show a red line beneath and cannot be added to dictionary.

dimkanovikov commented 6 years ago

Hm... Can you check the file C:\Users\USER_NAME\AppData\Local\DimkaNovikov labs\Scenarist\Hunspell\UserDictionary.dict. It should contain words that you add to dictionary from the app.

dimkanovikov commented 6 years ago

Bug with punctuation was fixed recently at #645

imgforge commented 6 years ago

Yes - words are there. Last saved today. Let me check one thing.

imgforge commented 6 years ago

Custom dictionary saves as soon as I add a word. Everything working there -- Closed the program, rebooted, rechecked the file - file integrity is fine. The disconnect is further up the chain - possibly the app trying to read the file? Either way, still having the same problem as noted in video.

imgforge commented 6 years ago

@dimkanovikov I noticed UserDictionary.dict has spaces between some of the words -- Could that cause the problem? See attached. 2018-06-13_10-11-55

imgforge commented 6 years ago

There also a few of the '?'. This was the result of the igbo language words being added. 2018-06-13_10-15-45

imgforge commented 6 years ago

That was the problem - the unknown characters - I removed them from the file, saved, restarted Scenarist and it worked fine.

dimkanovikov commented 6 years ago

Thanks a lot for your find! We lacked UTF support when words was added to the user dictionary. Now it will work like a charm!

imgforge commented 6 years ago

Excellent!