Character encoding (UTF-8 to locale) example and use in standalone.c.