<?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 Help for error encoding esri in Python Questions</title>
    <link>https://community.esri.com/t5/python-questions/help-for-error-encoding-esri/m-p/563962#M44094</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hello;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I have a problem with running arctoolbox running, this arctoolbox is bases of an script who i created for convert shape to sde . But, when i run this, i have this error &lt;/SPAN&gt;&lt;BR /&gt;&lt;STRONG&gt;ascii cant encode xa0&lt;/STRONG&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;what line python can i make in script for sove this error of encodage&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Bests regards&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 11 Jan 2012 08:30:54 GMT</pubDate>
    <dc:creator>khalidoube</dc:creator>
    <dc:date>2012-01-11T08:30:54Z</dc:date>
    <item>
      <title>Help for error encoding esri</title>
      <link>https://community.esri.com/t5/python-questions/help-for-error-encoding-esri/m-p/563962#M44094</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hello;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I have a problem with running arctoolbox running, this arctoolbox is bases of an script who i created for convert shape to sde . But, when i run this, i have this error &lt;/SPAN&gt;&lt;BR /&gt;&lt;STRONG&gt;ascii cant encode xa0&lt;/STRONG&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;what line python can i make in script for sove this error of encodage&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Bests regards&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Jan 2012 08:30:54 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/help-for-error-encoding-esri/m-p/563962#M44094</guid>
      <dc:creator>khalidoube</dc:creator>
      <dc:date>2012-01-11T08:30:54Z</dc:date>
    </item>
    <item>
      <title>Re: Help for error encoding esri</title>
      <link>https://community.esri.com/t5/python-questions/help-for-error-encoding-esri/m-p/563963#M44095</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Check your field values to ensure that there are no ascii values, you can use the encode() method to remove values that will cause your script to fail.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Example:&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;
value = sRow.getValue(field.name).encode('ascii','ignore')
&lt;/PRE&gt;&lt;BR /&gt;&lt;SPAN&gt;All ascii values will be ignored.&amp;nbsp; You can also replace the values.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;See &lt;/SPAN&gt;&lt;A href="http://docs.python.org/library/stdtypes.html" rel="nofollow noopener noreferrer" target="_blank"&gt;http://docs.python.org/library/stdtypes.html&lt;/A&gt;&lt;SPAN&gt; for more information.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 12 Dec 2021 00:18:13 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/help-for-error-encoding-esri/m-p/563963#M44095</guid>
      <dc:creator>AndrewChapkowski</dc:creator>
      <dc:date>2021-12-12T00:18:13Z</dc:date>
    </item>
  </channel>
</rss>

