<?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: Field Calculator '*.cal' file encoding in ArcGIS Pro Questions</title>
    <link>https://community.esri.com/t5/arcgis-pro-questions/field-calculator-cal-file-encoding-not-py/m-p/49371#M2132</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It's my understanding that there are two ways to invoke Python; for lack of better terms, I'll call them "script" and "immediate". The field calculator submits a string to the parser in "immediate" mode, but because it's not a file, you get more generic errors (and sometimes it's just "error occurred").&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Python toolboxes have a .pyt suffix, so .cal isn't the only quirky suffix for Python-like code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I expect the UTF-16 encoding is due to the default character width in the Windows app, and avoiding the need to translate to UTF-8 before submitting to the parser.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've been programming since I was 12, so I'll stay out of the debate on how to teach non-programmers scripting languages. &lt;IMG src="https://community.esri.com/legacyfs/online/emoticons/wink.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- V&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 22 Jun 2017 14:53:50 GMT</pubDate>
    <dc:creator>VinceAngelo</dc:creator>
    <dc:date>2017-06-22T14:53:50Z</dc:date>
    <item>
      <title>Field Calculator '*.cal' file encoding ... not '*.py'</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/field-calculator-cal-file-encoding-not-py/m-p/49362#M2123</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The ability to save and reuse python snippets for using in the &lt;A href="http://pro.arcgis.com/en/pro-app/tool-reference/data-management/calculate-field.htm"&gt;Calculate Field&lt;/A&gt; tools is useful (aka... the field calculator for non-ArcGIS Pro users).&amp;nbsp; A couple of questions then...&lt;/P&gt;&lt;DIV&gt;&lt;UL&gt;&lt;LI&gt;&lt;P&gt;UTF-16-LE .... the encoding used for some reason rather than utf-8 for instance&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;UC2-2 LE BOM ... is this good enough if you use a Notepad++ file?&lt;/LI&gt;&lt;LI&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;DIV&gt;-*- coding: &amp;lt;encoding-name&amp;gt; -*- &amp;nbsp; as the first line using either the UTF or UC2 version... will that solve encoding problems with the *.cal files?&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/DIV&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And the biggie....&lt;STRONG&gt;Why can't you use Python *.py files&lt;/STRONG&gt;?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It is more out of curiosity and... I have to teach... so this is what I have to tell my students...&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;the default language used in Pro is Python...&lt;/LI&gt;&lt;LI&gt;Python files have a *.py file extension ...&lt;/LI&gt;&lt;LI&gt;except in the calculate field tool for Pro,&amp;nbsp;&lt;/LI&gt;&lt;LI&gt;*.cal files is all you will see,&lt;/LI&gt;&lt;LI&gt;save your 'defs' as cal and py files if you want to use them everywhere&lt;/LI&gt;&lt;LI&gt;no more questions now... I have a headache&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Some illumination would be useful so I can expand my bullet list.&amp;nbsp; Others that teach out there, may wish to jump in with addition missives should they have encountered any&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.esri.com/migrated-users/3355"&gt;Curtis Price&lt;/A&gt;‌ &lt;A href="https://community.esri.com/migrated-users/2034"&gt;Timothy Hales&lt;/A&gt;‌ perhaps, or an FYI##&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Jun 2017 12:01:04 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/field-calculator-cal-file-encoding-not-py/m-p/49362#M2123</guid>
      <dc:creator>DanPatterson_Retired</dc:creator>
      <dc:date>2017-06-21T12:01:04Z</dc:date>
    </item>
    <item>
      <title>Re: Field Calculator 'cal' encoding</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/field-calculator-cal-file-encoding-not-py/m-p/49363#M2124</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Great question Dan.&amp;nbsp; I would like, or even hope, someone knowledgeable from Esri responds but we will have to wait and see.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I foresee a "compatibility" argument being made, which will be frustrating because I think Esri talks out both side of their mouth when it comes to compatibility between ArcMap and ArcGIS Pro.&amp;nbsp; I ran into an issue the other day where the parameter order of an ArcPy function changed between ArcMap and Pro, and the argument was made that Pro is a new application not everyone will work example the same.&amp;nbsp; Yet, somehow the CAL file survived.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Jun 2017 14:19:23 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/field-calculator-cal-file-encoding-not-py/m-p/49363#M2124</guid>
      <dc:creator>JoshuaBixby</dc:creator>
      <dc:date>2017-06-21T14:19:23Z</dc:date>
    </item>
    <item>
      <title>Re: Field Calculator 'cal' encoding</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/field-calculator-cal-file-encoding-not-py/m-p/49364#M2125</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Joshua... as for the parameter out of order issue... while we wait... I use the named parameter method generally rather than relying on position of the parameter... makes the code a bit longer to write the first time, but is manageable should someone pull a fast shifty on us.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Lets pull in some of the others... to add to the list since&amp;nbsp; they might have an insider perspective or could raise this issue during the plenary session coming up at UC &lt;IMG src="https://community.esri.com/legacyfs/online/emoticons/wink.png" /&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.esri.com/people/xander_bakker"&gt;xander_bakker&lt;/A&gt;‌ &lt;A href="https://community.esri.com/people/vangelo-esristaff"&gt;vangelo-esristaff&lt;/A&gt;‌ &lt;A href="https://community.esri.com/people/jayanta.poddar"&gt;jayanta.poddar&lt;/A&gt;‌&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Jun 2017 14:56:20 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/field-calculator-cal-file-encoding-not-py/m-p/49364#M2125</guid>
      <dc:creator>DanPatterson_Retired</dc:creator>
      <dc:date>2017-06-21T14:56:20Z</dc:date>
    </item>
    <item>
      <title>Re: Field Calculator 'cal' encoding</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/field-calculator-cal-file-encoding-not-py/m-p/49365#M2126</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff;"&gt;the parameter order of an ArcPy function changed&lt;/SPAN&gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff;"&gt;Please do tell which function! &amp;nbsp;I have found this pretty unusual - I have a pretty complex toolbox written in 9.3 that still works.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Jun 2017 21:51:43 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/field-calculator-cal-file-encoding-not-py/m-p/49365#M2126</guid>
      <dc:creator>curtvprice</dc:creator>
      <dc:date>2017-06-21T21:51:43Z</dc:date>
    </item>
    <item>
      <title>Re: Field Calculator '*.cal' file encoding</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/field-calculator-cal-file-encoding-not-py/m-p/49366#M2127</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;quit getting off track &lt;IMG src="https://community.esri.com/legacyfs/online/emoticons/wink.png" /&gt; .... focus on the main question and we might tell you&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;EDIT&lt;/P&gt;&lt;P&gt;PS... I have a short list of 10+ in the evolution of Pro since 1. to 1.4.1... and that doesn't include enhancements but additions/changes to the tool parameters.&amp;nbsp; I have counted groups of changes as 1 since there&amp;nbsp; a bunch of changes in a category of tools that affected all tools within it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But I digress from the pressing issue&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Jun 2017 23:45:03 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/field-calculator-cal-file-encoding-not-py/m-p/49366#M2127</guid>
      <dc:creator>DanPatterson_Retired</dc:creator>
      <dc:date>2017-06-21T23:45:03Z</dc:date>
    </item>
    <item>
      <title>Re: Field Calculator '*.cal' file encoding</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/field-calculator-cal-file-encoding-not-py/m-p/49367#M2128</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Dan&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is a good question and I had these problems too.&lt;/P&gt;&lt;P&gt;My workaround is to replace the calc tool with simple python script that run an update cursor. Then I can run a "real" python script. The update cursor itself is just a few lines around the calc expression.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Mody&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Jun 2017 05:03:34 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/field-calculator-cal-file-encoding-not-py/m-p/49367#M2128</guid>
      <dc:creator>ModyBuchbinder</dc:creator>
      <dc:date>2017-06-22T05:03:34Z</dc:date>
    </item>
    <item>
      <title>Re: Field Calculator '*.cal' file encoding</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/field-calculator-cal-file-encoding-not-py/m-p/49368#M2129</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for that Mody, but I am using the simple field calculator defs as an introduction to using full-fledged scripts in my teaching... so chicken/egg scenario unfortunately.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Jun 2017 05:10:34 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/field-calculator-cal-file-encoding-not-py/m-p/49368#M2129</guid>
      <dc:creator>DanPatterson_Retired</dc:creator>
      <dc:date>2017-06-22T05:10:34Z</dc:date>
    </item>
    <item>
      <title>Re: Field Calculator '*.cal' file encoding</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/field-calculator-cal-file-encoding-not-py/m-p/49369#M2130</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I wonder if using the Field Calculator is the easiest way to explain Python. It does allow you create a simple function and if you are lucky you may write it without errors. But I have seen cases that the function was simple and valid but still didn't work in the Field Calculator. When you store the .cal file you get this beautiful "__esri_field_calculator_splitter__" to separate the function from the expression, but&amp;nbsp;it will not tell you the Parser used for the cal file. Since in some cases I have mixed using cal files with VBA and Python parsers just for being lazy, this can&amp;nbsp;be the cause of problems. In the long run, I believe creating a standalone script is better than using the .cal files. It makes more sense to me.&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Jun 2017 12:49:09 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/field-calculator-cal-file-encoding-not-py/m-p/49369#M2130</guid>
      <dc:creator>XanderBakker</dc:creator>
      <dc:date>2017-06-22T12:49:09Z</dc:date>
    </item>
    <item>
      <title>Re: Field Calculator '*.cal' file encoding</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/field-calculator-cal-file-encoding-not-py/m-p/49370#M2131</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Xander, my experience in class has been the opposite.&amp;nbsp; You can create some really simple field calculator expressions as defs then save them out... and as you point out the splitter does a fine job for reuse.&amp;nbsp; I use those as a base to introduce the Calculate Field from a standalone script, then searchcursors.&amp;nbsp; I should note... most of the 2nd year class doesn't have any experience in programming, coming from a social science background.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The question remains... why the restriction to a *.cal&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Jun 2017 14:00:19 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/field-calculator-cal-file-encoding-not-py/m-p/49370#M2131</guid>
      <dc:creator>DanPatterson_Retired</dc:creator>
      <dc:date>2017-06-22T14:00:19Z</dc:date>
    </item>
    <item>
      <title>Re: Field Calculator '*.cal' file encoding</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/field-calculator-cal-file-encoding-not-py/m-p/49371#M2132</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It's my understanding that there are two ways to invoke Python; for lack of better terms, I'll call them "script" and "immediate". The field calculator submits a string to the parser in "immediate" mode, but because it's not a file, you get more generic errors (and sometimes it's just "error occurred").&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Python toolboxes have a .pyt suffix, so .cal isn't the only quirky suffix for Python-like code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I expect the UTF-16 encoding is due to the default character width in the Windows app, and avoiding the need to translate to UTF-8 before submitting to the parser.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've been programming since I was 12, so I'll stay out of the debate on how to teach non-programmers scripting languages. &lt;IMG src="https://community.esri.com/legacyfs/online/emoticons/wink.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- V&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Jun 2017 14:53:50 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/field-calculator-cal-file-encoding-not-py/m-p/49371#M2132</guid>
      <dc:creator>VinceAngelo</dc:creator>
      <dc:date>2017-06-22T14:53:50Z</dc:date>
    </item>
    <item>
      <title>Re: Field Calculator '*.cal' file encoding</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/field-calculator-cal-file-encoding-not-py/m-p/49372#M2133</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;'68 for me, with cards... thanks Vince&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Jun 2017 15:02:57 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/field-calculator-cal-file-encoding-not-py/m-p/49372#M2133</guid>
      <dc:creator>DanPatterson_Retired</dc:creator>
      <dc:date>2017-06-22T15:02:57Z</dc:date>
    </item>
    <item>
      <title>Re: Field Calculator '*.cal' file encoding</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/field-calculator-cal-file-encoding-not-py/m-p/49373#M2134</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Fresh ones arrive... with 10.5.1 more parameters in slope and aspect &lt;A href="http://desktop.arcgis.com/en/arcmap/latest/get-started/introduction/whats-new-in-arcgis.htm"&gt;check geoprocessing section&lt;/A&gt; and &lt;A href="http://pro.arcgis.com/en/pro-app/get-started/whats-new-in-arcgis-pro.htm"&gt;Pro 2.0 is live&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 Jun 2017 05:42:17 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/field-calculator-cal-file-encoding-not-py/m-p/49373#M2134</guid>
      <dc:creator>DanPatterson_Retired</dc:creator>
      <dc:date>2017-06-27T05:42:17Z</dc:date>
    </item>
    <item>
      <title>Re: Field Calculator '*.cal' file encoding</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/field-calculator-cal-file-encoding-not-py/m-p/49374#M2135</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The help for 10.5.1 and Pro 2.0 is up, but no software yet for me on my.esri. &amp;nbsp;Probably very soon though.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is cool:&amp;nbsp;&lt;A class="link-titled" href="http://pro.arcgis.com/en/pro-app/tool-reference/spatial-analyst/gpu-processing-with-spatial-analyst.htm" title="http://pro.arcgis.com/en/pro-app/tool-reference/spatial-analyst/gpu-processing-with-spatial-analyst.htm"&gt;GPU processing with Spatial Analyst—Help | ArcGIS Desktop&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 Jun 2017 12:26:39 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/field-calculator-cal-file-encoding-not-py/m-p/49374#M2135</guid>
      <dc:creator>curtvprice</dc:creator>
      <dc:date>2017-06-27T12:26:39Z</dc:date>
    </item>
    <item>
      <title>Re: Field Calculator '*.cal' file encoding</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/field-calculator-cal-file-encoding-not-py/m-p/49375#M2136</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Wow... 29 viewers, hi to the esri staff that I haven't heard of.&amp;nbsp; 325 emails? must have generated some interest.&lt;/P&gt;&lt;P&gt;BUT&lt;/P&gt;&lt;P&gt;I will close this off as a discussion since it appears that the status quo will remain for some reason (legacy purposes?).&lt;/P&gt;&lt;P&gt;Workarounds abound ... I don't need them, but thank you.&amp;nbsp; I am more interested in finding a suitable explanations for my students without using&lt;/P&gt;&lt;P&gt;&lt;EM&gt; '.... because, that's the way it is... '&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;in an explanation of why python is widely adopted, except when saving in the field calculator.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Anyone at UC... ask around...&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Dan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Jul 2017 23:21:02 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/field-calculator-cal-file-encoding-not-py/m-p/49375#M2136</guid>
      <dc:creator>DanPatterson_Retired</dc:creator>
      <dc:date>2017-07-04T23:21:02Z</dc:date>
    </item>
    <item>
      <title>Re: Field Calculator '*.cal' file encoding ... not '*.py'</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/field-calculator-cal-file-encoding-not-py/m-p/49376#M2137</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for posting this, for you helped me answer an unrelated question.&amp;nbsp; I had a student that used a text editor to edit&amp;nbsp;a *.cal file, but on [Load], all the characters had "changed" to Chinese.&amp;nbsp; We kept trying to fix it by saving to UTF-8 or ANSI, but ...&amp;nbsp;&lt;SPAN style="background-color: #ffffff;"&gt;UC2-2 LE BOM&lt;/SPAN&gt;.&amp;nbsp; Thanks.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;While I'm here, has the big question been answered yet?&amp;nbsp; Not here, obviously, but elsewhere?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;"&lt;SPAN style="background-color: #ffffff;"&gt;And the biggie....&lt;/SPAN&gt;&lt;STRONG style="background-color: #ffffff; border: 0px; font-weight: bold;"&gt;Why can't you use Python *.py files&lt;/STRONG&gt;&lt;SPAN style="background-color: #ffffff;"&gt;?"&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Jan 2018 16:07:46 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/field-calculator-cal-file-encoding-not-py/m-p/49376#M2137</guid>
      <dc:creator>ScottDrzyzga</dc:creator>
      <dc:date>2018-01-25T16:07:46Z</dc:date>
    </item>
    <item>
      <title>Re: Field Calculator '*.cal' file encoding ... not '*.py'</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/field-calculator-cal-file-encoding-not-py/m-p/49377#M2138</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It hasn't.... and there is probably some reason beyond 'inertia', that I am not privy to.&amp;nbsp;&lt;/P&gt;&lt;P&gt;In any event, I just keep two exact same versions, or if I just forget, I change the file extension and comment out the last 2 lines that the *cal version magically adds&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;__esri_field_calculator_splitter__&lt;BR /&gt;angle_between(!Shape!, True)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Those two lines are what populates the Expression box so that the *cal does all the work for you.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Jan 2018 18:22:20 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/field-calculator-cal-file-encoding-not-py/m-p/49377#M2138</guid>
      <dc:creator>DanPatterson_Retired</dc:creator>
      <dc:date>2018-01-25T18:22:20Z</dc:date>
    </item>
  </channel>
</rss>

