fix preinstall_alert and preuninstall_alert unicode support