unicode fix for external calls