HPCC-8845 Update based on review, and add unicode test case

Signed-off-by: Anthony Fishbeck <anthony.fishbeck@lexisnexis.com>