Quote:
Originally Posted by juhler
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 =)
|
actually sir we are using utf8 charset but i dont know whats wrong with it kkkk but korean charset like that:
euc-kr
and for all;
Korean ##charset=ks_c_5601-1987
Korean (EUC) ##charset=euc-kr
Korean (ISO) ##charset=iso-2022-kr
Korean (Johab) ##charset=Johab
Korean (Mac) ##charset=x-mac-korean
-------------------------------------------------------
ko_KR.EUC-KR... done
ko_KR.UTF-8... done
*** wel and i have a questions umm is multi-lingual character encoding in PHP forms not possible? as utf8, korean, hapan, chinise, turkish, english bla bla xD