cvs: pear /Services_Ebay package.php /Services_Ebay/Ebay Session.php
| From: | Stephan Schmidt | Date: | Thu, 23 Dec 2004 10:18:56 +0000 |
| Subject: | cvs: pear /Services_Ebay package.php /Services_Ebay/Ebay Session.php | ||
| Groups: | php.pear.cvs | ||
| Request: | Send a blank email to pear-cvs+get-27778@lists.php.net to get a copy of this message | ||
schst Thu Dec 23 05:18:56 2004 EDT
Modified files:
/pear/Services_Ebay/Ebay Session.php
/pear/Services_Ebay package.php
Log:
added UTF-8 encoding, requires XML_Serializer 0.14.0
http://cvs.php.net/diff.php/pear/Services_Ebay/Ebay/Session.php?r1=1.7&r2=1.8&ty=u
Index: pear/Services_Ebay/Ebay/Session.php
diff -u pear/Services_Ebay/Ebay/Session.php:1.7 pear/Services_Ebay/Ebay/Session.php:1.8
--- pear/Services_Ebay/Ebay/Session.php:1.7 Tue Dec 7 18:10:29 2004
+++ pear/Services_Ebay/Ebay/Session.php Thu Dec 23 05:18:56 2004
@@ -16,7 +16,7 @@
// | Authors: Stephan Schmidt <schst@php.net> |
// +----------------------------------------------------------------------+
//
-// $Id: Session.php,v 1.7 2004/12/07 23:10:29 amt Exp $
+// $Id: Session.php,v 1.8 2004/12/23 10:18:56 schst Exp $
/**
* Services/Ebay/Session.php
@@ -205,14 +205,18 @@
'linebreak' => "\n",
'typeHints' => false,
'addDecl' => true,
+ 'encoding' => 'UTF-8',
'scalarAsAttributes' => false,
'rootName' => 'request',
'rootAttributes' => array( 'xmlns' =>
'urn:eBayAPIschema' ),
+ 'encodeFunction' => 'utf8_encode'
);
$this->ser = new XML_Serializer( $opts );
$opts = array(
- 'forceEnum' => array('Error')
+ 'forceEnum' => array('Error'),
+ 'encoding' => 'UTF-8',
+ 'targetEncoding' => 'ISO-8859-1'
);
$this->us = new XML_Unserializer( $opts );
}
http://cvs.php.net/diff.php/pear/Services_Ebay/package.php?r1=1.9&r2=1.10&ty=u
Index: pear/Services_Ebay/package.php
diff -u pear/Services_Ebay/package.php:1.9 pear/Services_Ebay/package.php:1.10
--- pear/Services_Ebay/package.php:1.9 Tue Dec 7 18:09:41 2004
+++ pear/Services_Ebay/package.php Thu Dec 23 05:18:56 2004
@@ -3,7 +3,7 @@
* script to automate the generation of the
* package.xml file.
*
- * $Id: package.php,v 1.9 2004/12/07 23:09:41 schst Exp $
+ * $Id: package.php,v 1.10 2004/12/23 10:18:56 schst Exp $
*
* @author Stephan Schmidt <schst@php-tools.net>
* @package Services_Ebay
@@ -76,7 +76,7 @@
$package->addMaintainer('amt', 'contributor', 'Adam Trachtenberg',
'amt@php.net');
$package->addDependency('PEAR', '1.3.2', 'ge', 'pkg',
false);
-$package->addDependency('XML_Serializer', '0.9.1', 'ge',
'pkg', false);
+$package->addDependency('XML_Serializer', '0.14.0', 'ge',
'pkg', false);
$package->addDependency('php', '5.0.0', 'ge', 'php',
false);
$package->addDependency('curl', '', 'has', 'ext',
false);