jQCloud icon indicating copy to clipboard operation
jQCloud copied to clipboard

The link of words input doesn't support Chinese characters.

Open coin8086 opened this issue 7 years ago • 1 comments

Say a link like "挑战程序设计竞赛.html":

words = [{ text: "挑战程序设计竞赛", link: "挑战程序设计竞赛.html", ... }, ...]
$('#test').jQCloud(words, ...)

Then the link is incorrectly rendered as %E6%8C%91%E6%88%98%E7%A8%8B%E5%BA%8F%E8%AE%BE%E8%AE%A1%E7%AB%9E%E8%B5%9B.html in the generated cloud, pointing to an invalid place rather the the original place.

coin8086 avatar May 23 '17 10:05 coin8086

$('#test').jQCloud(words,{ encodeURI:false})

JemmyL avatar Feb 05 '18 14:02 JemmyL