<?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 Re: Publish python script containing umlauts as a Geoprocessing Service to ArcGIS Server via ArcGIS Pro is cut off in ArcGIS Pro Questions</title>
    <link>https://community.esri.com/t5/arcgis-pro-questions/publish-python-script-containing-umlauts-as-a/m-p/1232093#M62286</link>
    <description>&lt;P&gt;Hi Johannes,&lt;/P&gt;&lt;P&gt;thank you for your suggestion. I tried your script and&amp;nbsp;unfortunately it didn't work.&lt;/P&gt;&lt;P&gt;The script I'm publishing:&lt;/P&gt;&lt;LI-CODE lang="python"&gt;# -*- coding: cp1252 -*-

import arcpy
# ÄäÖöÜüß
arcpy.AddMessage("ÄäÖöÜüß")&lt;/LI-CODE&gt;&lt;P&gt;The published script ("\directories\arcgissystem\arcgisinput\TestPublishGP.GPServer\extracted\p20\testpublishgp\TestPublishGP.py") looks like this:&lt;/P&gt;&lt;LI-CODE lang="python"&gt;# -*- coding: utf-8 -*-

import arcpy
# &lt;/LI-CODE&gt;&lt;P&gt;Interestingly he changes the encoding string during/after the publishing process to utf-8.&amp;nbsp;&lt;BR /&gt;I am surprised that the comments aren't ignored. (The script is cut off at the first umlaut in the comment in line 4).&lt;BR /&gt;&lt;BR /&gt;Greetings&lt;BR /&gt;geowind&lt;BR /&gt;&lt;BR /&gt;PS I don't know why this post has extra paragraphs at the end, I can't remove them&amp;nbsp;&lt;span class="lia-unicode-emoji" title=":grinning_face:"&gt;😀&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 16 Nov 2022 06:53:48 GMT</pubDate>
    <dc:creator>geowind</dc:creator>
    <dc:date>2022-11-16T06:53:48Z</dc:date>
    <item>
      <title>Publish python script containing umlauts as a Geoprocessing Service to ArcGIS Server via ArcGIS Pro is cut off</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/publish-python-script-containing-umlauts-as-a/m-p/1231700#M62249</link>
      <description>&lt;P&gt;Hi everyone,&lt;/P&gt;&lt;P&gt;when I try to publish a python script containing umlauts as a Geoprocessing Service to the ArcGIS Standalone Server via ArcGIS Pro, the publishing process is successful (no error/warning), but the published script &lt;STRONG&gt;is cut off&lt;/STRONG&gt; &lt;STRONG&gt;at the first umlaut&lt;/STRONG&gt;.&lt;/P&gt;&lt;P&gt;The script I'm publishing:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="python"&gt;import arcpy
# Hello Wörld
arcpy.AddMessage("Hello Wörld")&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The published script ("\directories\arcgissystem\arcgisinput\TestPublishGP.GPServer\extracted\p20\testpublishgp\TestPublishGP.py") looks like this:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="python"&gt;import arcpy
# Hello W&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If I publish the same script via ArcMap 10.8.1 everything works just fine. We're switching to ArcGIS Pro, so using ArcMap is not an option.&lt;/P&gt;&lt;P&gt;ArcGIS-Server:&amp;nbsp;10.9.1&lt;BR /&gt;ArcGIS Pro: 2.8.6&lt;BR /&gt;Python: 3.7.10&lt;/P&gt;&lt;P&gt;How can i solve this problem?&lt;/P&gt;</description>
      <pubDate>Tue, 15 Nov 2022 14:09:37 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/publish-python-script-containing-umlauts-as-a/m-p/1231700#M62249</guid>
      <dc:creator>geowind</dc:creator>
      <dc:date>2022-11-15T14:09:37Z</dc:date>
    </item>
    <item>
      <title>Re: Publish python script containing umlauts as a Geoprocessing Service to ArcGIS Server via ArcGIS Pro is cut off</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/publish-python-script-containing-umlauts-as-a/m-p/1231758#M62256</link>
      <description>&lt;P&gt;Does it work if you specify a coding that works with umlauts?&lt;/P&gt;&lt;LI-CODE lang="python"&gt;# -*- coding: cp1252 -*-

import arcpy
# ÄäÖöÜüß
arcpy.AddMessage("ÄäÖöÜüß")&lt;/LI-CODE&gt;</description>
      <pubDate>Tue, 15 Nov 2022 15:25:53 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/publish-python-script-containing-umlauts-as-a/m-p/1231758#M62256</guid>
      <dc:creator>JohannesLindner</dc:creator>
      <dc:date>2022-11-15T15:25:53Z</dc:date>
    </item>
    <item>
      <title>Re: Publish python script containing umlauts as a Geoprocessing Service to ArcGIS Server via ArcGIS Pro is cut off</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/publish-python-script-containing-umlauts-as-a/m-p/1232093#M62286</link>
      <description>&lt;P&gt;Hi Johannes,&lt;/P&gt;&lt;P&gt;thank you for your suggestion. I tried your script and&amp;nbsp;unfortunately it didn't work.&lt;/P&gt;&lt;P&gt;The script I'm publishing:&lt;/P&gt;&lt;LI-CODE lang="python"&gt;# -*- coding: cp1252 -*-

import arcpy
# ÄäÖöÜüß
arcpy.AddMessage("ÄäÖöÜüß")&lt;/LI-CODE&gt;&lt;P&gt;The published script ("\directories\arcgissystem\arcgisinput\TestPublishGP.GPServer\extracted\p20\testpublishgp\TestPublishGP.py") looks like this:&lt;/P&gt;&lt;LI-CODE lang="python"&gt;# -*- coding: utf-8 -*-

import arcpy
# &lt;/LI-CODE&gt;&lt;P&gt;Interestingly he changes the encoding string during/after the publishing process to utf-8.&amp;nbsp;&lt;BR /&gt;I am surprised that the comments aren't ignored. (The script is cut off at the first umlaut in the comment in line 4).&lt;BR /&gt;&lt;BR /&gt;Greetings&lt;BR /&gt;geowind&lt;BR /&gt;&lt;BR /&gt;PS I don't know why this post has extra paragraphs at the end, I can't remove them&amp;nbsp;&lt;span class="lia-unicode-emoji" title=":grinning_face:"&gt;😀&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 16 Nov 2022 06:53:48 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/publish-python-script-containing-umlauts-as-a/m-p/1232093#M62286</guid>
      <dc:creator>geowind</dc:creator>
      <dc:date>2022-11-16T06:53:48Z</dc:date>
    </item>
  </channel>
</rss>

