make port-encoding defaults to utf-8