added unicode support to c++ level class