Add force encoding to python binding

I need to use force encoding in my python script.  This is a dirty solution by simply perpending `!` when assigning the encoding, like `!ISO10646-1`.