utf8_to_utf16(), utf16_to_utf8() changes
authorEric Biggers <ebiggers3@gmail.com>
Wed, 19 Dec 2012 02:09:59 +0000 (20:09 -0600)
committerEric Biggers <ebiggers3@gmail.com>
Wed, 19 Dec 2012 02:09:59 +0000 (20:09 -0600)
commitded522fd0a15d740354329c5066ebd3473563e57
treeee5fbf49b2bb857d6c1bf0fca8e76bd64c2cfc6b
parent4449a8d6647cb1b5c251de9b77a0f4230811f09e
utf8_to_utf16(), utf16_to_utf8() changes

These two functions have been moved out of 'util.c' to a separate file
'encoding.c'.  They also now return an integer error code because they can fail
for at least two reasons (no memory, and invalid UTF-8 or UTF-16LE character).
13 files changed:
Makefile.am
src/add_image.c
src/dentry.c
src/dentry.h
src/encoding.c [new file with mode: 0644]
src/mount_image.c
src/ntfs-apply.c
src/ntfs-capture.c
src/symlink.c
src/util.c
src/util.h
src/wimlib.h
src/xml.c