When are you looking to do this replacement? If this can be done on the client side, jQuery may be a good solution. If you want the user to be able to enter the 'bad' character and then programmatically you replace it with the 'good' character, you may need to do some special modification (which i may be able to help with). Can you clarify?