开发者

How do I generate the copyright symbol in ruby?

开发者 https://www.devze.com 2023-03-31 07:40 出处:网络
I have ruby build file that we used to read the assembly attributes that we use 开发者_运维知识库in our applicationIn Ruby 1.9 and higher:

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

精彩评论

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