开发者

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')
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜