Converts text to UTF-8 encoded data.
The output data does not include a trailing NULL byte.
Keywords: conversion, string