DAWG icon indicating copy to clipboard operation
DAWG copied to clipboard

Could not support dawgdic created file with russian strings(CP1251)

Open mirage93i opened this issue 2 years ago • 2 comments

Hi, I've tried to use dawgdic to create dictionary with c++ strings and tries to read it with dwag_python it does not show any items and wrote some mistake related to encoding to UTF-8 I found that dwag_python works only with UTF-8 strings. Am I right?

mirage93i avatar Mar 11 '23 08:03 mirage93i

the problem is related to russian dictionary only. English works properly

mirage93i avatar Mar 11 '23 08:03 mirage93i

Definitely the problem is related to creation of dictionary with c++ with char * and CP1251 encodings. such dictionaries do not load properly in python. If I used utf-8 to create such dics loads correctly

mirage93i avatar Mar 11 '23 09:03 mirage93i