mistic100 / jQCloud

jQuery plugin for drawing neat word clouds that actually look like clouds
mistic100.github.io/jQCloud
MIT License
268 stars 106 forks source link

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

Open coin8086 opened 7 years ago

coin8086 commented 7 years ago

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.

JemmyL commented 6 years ago

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