DGIndex: Avoid crash that occurs by Unicode

This software does not support Unicode.