soshial / xdxf_makedict

XDXF — an open and free dictionary format, that stores word articles in a structural and semantic way. The most convertible format
227 stars 52 forks source link

Magic string did not match when converting from stardict #14

Closed twardoch closed 5 years ago

twardoch commented 11 years ago

If the IFO StarDict file is saved as "UTF-8 with BOM" (which is commonly the case), then I get the error "Magic string did not match". I suggest to make the comparison for the magic string more robust and tolerate the BOM (i.e. 0xEF,0xBB,0xBF at the beginning of the file before the "actual" magic string).

soshial commented 5 years ago

I am closing the issue, because the converter has been deprecated. Please use other converters like pyglossary.