encoding char issue fixed