Added specs for String#to_sym with non-ASCII string.

When the source string is non-ASCII, the corresponding symbol should
retain the same encoding.