tweak encoding in order to let postgresql database happy