Add utility methods to handle illegal chars
Merge pull request #128 from pbjorklund/utilityillegalchars

Add utility methods to handle illegal chars