Fix #762 - Added correct encoding for history client names