DATACOUCH-43 - Correctly encode non-ASCII characters.