Converting record value into unicode:chardata()?

What is the correct method for converting a record data field value into unicode:chardata() ?