How do I generate the copyright symbol in ruby?
I have ruby build file that we used to read the assembly attributes that we use 开发者_运维知识库in our application
In Ruby 1.9 and higher:
"\u00A9"
Are you looking for ©
which displays as the copyright symbol in HTML?
"\xC2\xA9".force_encoding('UTF-8')
精彩评论