Reviving this because the other user is correct that the accepted answer advocates a poor practice. You’re better off resolving this by setting it explicitly in your p4 environment settings or your p4config:
p4 set P4CHARSET=none
Further information available here:
3 Likes