If you add the chr method from the Integer class, you'll get the actual character:
line = "A horse! a horse! my kingdom for a horse!" line[7].chr # => "!"