cvs: peardoc /en/package/webservices/services-ebay encoding.xml
| From: | Christian Weiske | Date: | Wed, 08 Oct 2008 08:34:32 +0000 |
| Subject: | cvs: peardoc /en/package/webservices/services-ebay encoding.xml | ||
| Groups: | php.pear.doc | ||
| Request: | Send a blank email to pear-doc+get-11157@lists.php.net to get a copy of this message | ||
cweiske Wed Oct 8 08:34:32 2008 UTC
Modified files:
/peardoc/en/package/webservices/services-ebay encoding.xml
Log:
fix encoding back
http://cvs.php.net/viewvc.cgi/peardoc/en/package/webservices/services-ebay/encoding.xml?r1=1.5&r2=1.6&diff_format=u
Index: peardoc/en/package/webservices/services-ebay/encoding.xml
diff -u peardoc/en/package/webservices/services-ebay/encoding.xml:1.5
peardoc/en/package/webservices/services-ebay/encoding.xml:1.6
--- peardoc/en/package/webservices/services-ebay/encoding.xml:1.5 Sat Oct 4 19:50:30 2008
+++ peardoc/en/package/webservices/services-ebay/encoding.xml Wed Oct 8 08:34:32 2008
@@ -1,5 +1,5 @@
-<?xml version="1.0" encoding="utf-8"?>
-<!-- $Revision: 1.5 $ -->
+<?xml version="1.0" encoding="iso-8859-1"?>
+<!-- $Revision: 1.6 $ -->
<refentry id="package.webservices.services-ebay.encoding">
<refnamediv>
<refname>XML encoding</refname>
@@ -16,7 +16,7 @@
<title>Using ISO-8859-1 in your script</title>
<programlisting role="php">
<![CDATA[require_once 'Services/Ebay.php';
-
+
// pass some authentication data
$session = Services_Ebay::getSession($devId, $appId, $certId, 'ISO-8859-1');
$session->setToken($token);
@@ -28,7 +28,7 @@
$item = Services_Ebay::loadModel('Item', null, $session);
$item->Category = 57882;
$item->Title = 'International Item';
-$item->Description = 'This description contains Umlaut characters like Ã, ü and
Ã';
+$item->Description = 'This description contains Umlaut characters like Ä, ü and ß';
$item->Location = 'At my home';
$item->MinimumBid = '532.0'; $item->VisaMaster = 1;
$item->ShippingType = 1;
@@ -54,7 +54,7 @@
<title>Using UTF-8 in your script</title>
<programlisting role="php">
<![CDATA[require_once 'Services/Ebay.php';
-
+
// pass some authentication data
$session = Services_Ebay::getSession($devId, $appId, $certId, 'UTF-8');
$session->setToken($token);
@@ -66,7 +66,7 @@
$item = Services_Ebay::loadModel('Item', null, $session);
$item->Category = 57882;
$item->Title = 'International Item';
-$item->Description = utf8_encode('This description contains Umlaut characters like Ã,
ü and Ã');
+$item->Description = utf8_encode('This description contains Umlaut characters like Ä, ü
and ß');
$item->Location = 'At my home';
$item->MinimumBid = '532.0'; $item->VisaMaster = 1;
$item->ShippingType = 1;
@@ -85,7 +85,7 @@
need to set the encoding to UTF-8.
</para>
</refsect1>
-
+
</refentry>
<!-- Keep this comment at the end of the file
Local variables:
@@ -105,5 +105,5 @@
vim600: syn=webservices fen fdm=syntax fdl=2 si
vim: et tw=78 syn=sgml
vi: ts=1 sw=1
--->
+-->