added pbcopy encoding