Fixed #47 Input with character = 0240 (octal) should fail