Pub update
Make use of the right encoding constant