add force encoding to python binding