commit 7b39052690e425256d927eef717153a7905b7c3e from: Stefan Sperling date: Sun Dec 23 14:01:48 2018 UTC document UTF-8 API functions commit - 5a3026e52b5ad2cd63f25d7ffa8e8dfa1a899a8f commit + 7b39052690e425256d927eef717153a7905b7c3e blob - 50a99bcd19c05d44c13dec6b03e9ea01c3490053 blob + 3ed6dddda4bfa5d3b10149a2074dddd365919ed4 --- include/got_utf8.h +++ include/got_utf8.h @@ -14,5 +14,8 @@ * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. */ +/* Return a sanitized UTF-8 string which is safe to write to a terminal. */ const struct got_error *got_mbsavis(char**, int *, const char *); + +/* Indicate whether the current locale supports UTF-8. */ int got_locale_is_utf8(void);