Use String#chars.to_a for 1.9 compatibility