Added preliminary support for char16 to avoid crashes because of null parameter types.

Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
Merge pull request #191 from ddobrev/master

Added preliminary support for char16 to avoid crashes because of null parameter types.