re-add removed encoding directive, still required for older rubies