Removed the check for 1.8 and kept the control characters for 1.9+.
Merge pull request #55 from kaspth/fix-range-warnings

#49: Fixed duplicated range warning on line 12.