[PATCH 0/2] lib: fix snprintf() for UTF-16 strings