Document encoding behaviour.