in reply to Substitution is replacing one character set out of two
What input do you have? What output do you get and how does it differ from your expectations?