lib: Further generalize iconv wrapper function.
lib: Add function that encodes UTF-8 to "packed" strings or UTF-16LE as Windows does
lib: Add support for creating nodes (keys) and values with UTF-16LE-encoded names