2 bugs on wowroster

Requests, feedback, and general discussion about WoWRoster
DO NOT post topics about WoWRoster AddOns here!

2 bugs on wowroster

Postby jilingshu » Thu Aug 27, 2009 1:11 pm

hi,
my friend shhboy and i have found and fixed 2 bugs on showing chinese character.
plz modify these line to the ones shown below:
config.lib.php
Code: Select all
line 364:
$input_field = '<input class="wowinput' . $text_class . '" name="' . $this->prefix . $values['name'] . '" type="text" value="' . htmlentities($values['value'],ENT_NOQUOTES, "UTF-8") . '" size="' . $length[1] . '" maxlength="' . $length[0] . '" />';

addons\info\inc\char.lib.php
line 313:
'LINK' => $link['url1'] . urlencode(($quest_name)) . (isset($link['url2']) ? $link['url2'] . $quest_level : '') . (isset($link['url3']) ? $link['url3'] . $quest_level : ''),


DO NOT use utf8_encode/utf8_decode functions.they can only destory characters.
thx
jilingshu
WR.net Apprentice
WR.net Apprentice
 
Posts: 3
Joined: Tue Aug 25, 2009 4:31 am

Return to General Support & Feedback

Who is online

Users browsing this forum: Bing [Bot] and 1 guest

cron