competing structure for incompatible characters

A structure for fighting incompatible characters(non utf-8 encoded) formed.