Changeset 486
- Timestamp:
- Dec 11, 2009, 4:34:56 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/xpressme_integration_kit/include/xpress_block_render.php
r483 r486 29 29 $ret = @xpress_XML_unserialize($xml_data); 30 30 if (strstr($xml_data, '<?xml version="1.0" encoding="EUC-JP" ?>') !== false){ 31 $ans = mb_convert_variables('EUC-JP' , 'UTF-8', &$ret); 31 if (version_compare(PHP_VERSION, '5.0.0', '>')) { 32 $ans = mb_convert_variables('EUC-JP' , 'UTF-8', &$ret); //xpress_XML_unserialize() Return UTF-8 at PHP5 33 } 32 34 } 33 35 return $ret;
Note: See TracChangeset
for help on using the changeset viewer.