Substitute unprintable char from string in pdf format