How to insert bullet character in a Ruby string?

Viewed 2151

I'm trying to create a Ruby 1.9.3 string with a bullet character in it.

str = "•" + " hello world"

But, when I type it in, I get a syntax error about a non-ASCII character.

How can I do this?

3 Answers
Related