Added an option for an encoding.

Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
Added a new test project for Unicode strings.

Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>