Fixed quotes bug

Fixed thrown Exception for non-US-ASCII char.
Merge pull request #1 from pmoust/master

Fixed quotes bug