Quote:
Originally Posted by compact123
|
Well I dont have korean at my board but I can change the code so it imports some other chars to, try this:
Code:
$feed = construct_feed_data($source);
$xml = new vB_AJAX_XML_Builder($vbulletin, 'text/xml');
$xml->add_group('response');
$xml->add_tag('thumbnail', $feed['thumbnail']);
$xml->add_tag('title', gzdecode($feed['title']));
$xml->add_tag('description', gzdecode($feed['description']));
$xml->add_tag('taglist', gzdecode($feed['taglist']));
$xml->add_tag('minutes', $feed['minutes']);
$xml->add_tag('seconds', $feed['seconds']);
$xml->add_tag('embed', $feed['embed']);
$xml->add_tag('source', gzdecode($feed['source']));
$xml->add_tag('serviceID', $feed['serviceID']);
$xml->add_tag('serviceVAL', $feed['serviceVAL']);
$xml->add_tag('serviceVAL2', $feed['serviceVAL2']);
$xml->close_group();
$xml->print_xml();
Or this:
Code:
$feed = construct_feed_data($source);
$xml = new vB_AJAX_XML_Builder($vbulletin, 'text/xml');
$xml->add_group('response');
$xml->add_tag('thumbnail', $feed['thumbnail']);
$xml->add_tag('title', utf8_encode($feed['title']));
$xml->add_tag('description', utf8_encode($feed['description']));
$xml->add_tag('taglist', utf8_encode($feed['taglist']));
$xml->add_tag('minutes', $feed['minutes']);
$xml->add_tag('seconds', $feed['seconds']);
$xml->add_tag('embed', $feed['embed']);
$xml->add_tag('source', utf8_encode($feed['source']));
$xml->add_tag('serviceID', $feed['serviceID']);
$xml->add_tag('serviceVAL', $feed['serviceVAL']);
$xml->add_tag('serviceVAL2', $feed['serviceVAL2']);
$xml->close_group();
$xml->print_xml();
Otherwise I need to know a little more about this charset stuff and what charset Korea use =)