Skip over control characters when computing offsets.
Merge pull request #17 from knowitall/clean

Skip over control characters when computing offsets.