unicode support - add code to support unicode input - add test code for unicode input

thanks, fixed in #41