<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Accented characters passed in billing section generates XML encoding error. in Integration and Testing</title>
    <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Accented-characters-passed-in-billing-section-generates-XML/m-p/53588#M28694</link>
    <description>&lt;P&gt;I've read through a number of older posts and while there seem to be a desire to support non-standard characters in the SDK, it may not yet be ready to handle them.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here's the situation which I had to deal with for the old AIM form/value gateway last year (contrived test case after an actual use case which ocurred) converted to an XML gateway request:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;        &amp;lt;billTo&amp;gt;
            &amp;lt;firstName&amp;gt;ð é ñ ç æ&amp;lt;/firstName&amp;gt;
            &amp;lt;lastName&amp;gt;Center&amp;lt;/lastName&amp;gt;
            &amp;lt;address&amp;gt;ð é ñ ç æ&amp;lt;/address&amp;gt;
            &amp;lt;city&amp;gt;ð é ñ ç æ&amp;lt;/city&amp;gt;
            &amp;lt;state&amp;gt;[removed]&amp;lt;/state&amp;gt;
            &amp;lt;zip&amp;gt;[removed]&amp;lt;/zip&amp;gt;
            &amp;lt;country&amp;gt;US&amp;lt;/country&amp;gt;
            &amp;lt;phoneNumber&amp;gt;[removed]&amp;lt;/phoneNumber&amp;gt;
        &amp;lt;/billTo&amp;gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;And here's what I get if I send it through the Java SDK:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&amp;lt;ErrorResponse
	xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
	xmlns:xsd="http://www.w3.org/2001/XMLSchema"
	xmlns="AnetApi/xml/v1/schema/AnetApiSchema.xsd"&amp;gt;
	&amp;lt;messages&amp;gt;
		&amp;lt;resultCode&amp;gt;Error&amp;lt;/resultCode&amp;gt;
		&amp;lt;message&amp;gt;
			&amp;lt;code&amp;gt;E00003&amp;lt;/code&amp;gt;
			&amp;lt;text&amp;gt;Invalid character in the given encoding. Line 25, position 24.
			&amp;lt;/text&amp;gt;
		&amp;lt;/message&amp;gt;
	&amp;lt;/messages&amp;gt;
&amp;lt;/ErrorResponse&amp;gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is this a bug in how I am using the SDK?&amp;nbsp;&amp;nbsp; If I'm using it wrong, what should I do to encode these values correctly before calling customerAddressType.set*() methods?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If this is this a bug in the SDK, any general suggestions on how and where to fix it in my local copy of the SDK so I can submit a patch?&amp;nbsp;&amp;nbsp; My charset encoding skills are pretty poor, although I did at one point eventually figure out how to fix it for the old AIM interface.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 22 Jan 2016 22:48:48 GMT</pubDate>
    <dc:creator>mkienenb</dc:creator>
    <dc:date>2016-01-22T22:48:48Z</dc:date>
    <item>
      <title>Accented characters passed in billing section generates XML encoding error.</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Accented-characters-passed-in-billing-section-generates-XML/m-p/53588#M28694</link>
      <description>&lt;P&gt;I've read through a number of older posts and while there seem to be a desire to support non-standard characters in the SDK, it may not yet be ready to handle them.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here's the situation which I had to deal with for the old AIM form/value gateway last year (contrived test case after an actual use case which ocurred) converted to an XML gateway request:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;        &amp;lt;billTo&amp;gt;
            &amp;lt;firstName&amp;gt;ð é ñ ç æ&amp;lt;/firstName&amp;gt;
            &amp;lt;lastName&amp;gt;Center&amp;lt;/lastName&amp;gt;
            &amp;lt;address&amp;gt;ð é ñ ç æ&amp;lt;/address&amp;gt;
            &amp;lt;city&amp;gt;ð é ñ ç æ&amp;lt;/city&amp;gt;
            &amp;lt;state&amp;gt;[removed]&amp;lt;/state&amp;gt;
            &amp;lt;zip&amp;gt;[removed]&amp;lt;/zip&amp;gt;
            &amp;lt;country&amp;gt;US&amp;lt;/country&amp;gt;
            &amp;lt;phoneNumber&amp;gt;[removed]&amp;lt;/phoneNumber&amp;gt;
        &amp;lt;/billTo&amp;gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;And here's what I get if I send it through the Java SDK:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&amp;lt;ErrorResponse
	xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
	xmlns:xsd="http://www.w3.org/2001/XMLSchema"
	xmlns="AnetApi/xml/v1/schema/AnetApiSchema.xsd"&amp;gt;
	&amp;lt;messages&amp;gt;
		&amp;lt;resultCode&amp;gt;Error&amp;lt;/resultCode&amp;gt;
		&amp;lt;message&amp;gt;
			&amp;lt;code&amp;gt;E00003&amp;lt;/code&amp;gt;
			&amp;lt;text&amp;gt;Invalid character in the given encoding. Line 25, position 24.
			&amp;lt;/text&amp;gt;
		&amp;lt;/message&amp;gt;
	&amp;lt;/messages&amp;gt;
&amp;lt;/ErrorResponse&amp;gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is this a bug in how I am using the SDK?&amp;nbsp;&amp;nbsp; If I'm using it wrong, what should I do to encode these values correctly before calling customerAddressType.set*() methods?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If this is this a bug in the SDK, any general suggestions on how and where to fix it in my local copy of the SDK so I can submit a patch?&amp;nbsp;&amp;nbsp; My charset encoding skills are pretty poor, although I did at one point eventually figure out how to fix it for the old AIM interface.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 22 Jan 2016 22:48:48 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Accented-characters-passed-in-billing-section-generates-XML/m-p/53588#M28694</guid>
      <dc:creator>mkienenb</dc:creator>
      <dc:date>2016-01-22T22:48:48Z</dc:date>
    </item>
    <item>
      <title>Re: Accented characters passed in billing section generates XML encoding error.</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Accented-characters-passed-in-billing-section-generates-XML/m-p/53605#M28710</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Hi &lt;SPAN class="UserName lia-user-name lia-user-rank-Contributor"&gt;&lt;A id="link_3" class="lia-link-navigation lia-page-link lia-user-name-link" href="https://community.developer.cybersource.com/t5/user/viewprofilepage/user-id/19254" target="_self"&gt;&lt;SPAN class=""&gt;mkienenb&lt;/SPAN&gt;&lt;/A&gt;&lt;/SPAN&gt;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you for providing details of the issue you are getting. I have escalated this to our internal developers for review, I will make sure to let you know as soon as we have an update on this.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks,&lt;/P&gt;
&lt;P&gt;Joy&lt;/P&gt;</description>
      <pubDate>Mon, 25 Jan 2016 21:19:10 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Accented-characters-passed-in-billing-section-generates-XML/m-p/53605#M28710</guid>
      <dc:creator>Joy</dc:creator>
      <dc:date>2016-01-25T21:19:10Z</dc:date>
    </item>
    <item>
      <title>Re: Accented characters passed in billing section generates XML encoding error.</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Accented-characters-passed-in-billing-section-generates-XML/m-p/54368#M29364</link>
      <description>&lt;P&gt;Note that this appears to now be fixed in the SDK.&amp;nbsp;&amp;nbsp; I no longer see this problem when running with an SDK built on 2016-04-14 (hash fc6b763dde02ddc30d8b2f65747095ae08d722d8)&lt;/P&gt;</description>
      <pubDate>Tue, 19 Apr 2016 16:31:17 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Accented-characters-passed-in-billing-section-generates-XML/m-p/54368#M29364</guid>
      <dc:creator>mkienenb</dc:creator>
      <dc:date>2016-04-19T16:31:17Z</dc:date>
    </item>
  </channel>
</rss>

