Update paste example to use libcredit
Handle UTF-8 strings with an odd length crammed into UTF-16 strings