Fix diff cmd bugs: index name | size types (char(<number>), varchar(<number>)) | UnicodeWarning

Fix diff cmd bugs:
 - index name
 - size types (char(<number>), varchar(<number>))
 - UnicodeWarning