Issue #19 : Compile time error related to encoding fixed

Signed-off-by: Sergiy Beley <Sergiy.Beley@gmail.com>