[LMP Graffiti] Properly handle Unicode in CUEs, fixes #1518.