Update string.rb

Fix undefined symbol for ASCII errors