some unicode-related fixes to API client