How decode the " in weibo post page

How decode the " in weibo post page
0

#1

When I built the Build a Random Quote Machine, I met a problem.
I added a weibo button, and the js code for the button behavior is the following

$(’#weibo-quote’).attr(‘href’, ‘http://service.weibo.com/share/share.php?language=zh_cn&title=’ + ‘"’+ currentQuote + ‘"’ + currentAuthor);

But after I click the button, in the weibo page, I saw 2 " not " ".
That’s what I got through the js code after I click the weibo button:
http://service.weibo.com/share/share.php?language=zh_cn&title="Go%20ahead,%20make%20my%20day."Sudden%20Impact

How can I translate them into “” here?

Thanks~
Colin


#2

Please share your code. I can’t really understand your problem.