Fix bug encode on fix type
Set unicode on querie sql on bin mining