<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[UnicodeDecodeError when building Scripts menu]]></title><description><![CDATA[<p dir="auto">I just updated RF from 3.3b =&gt; 3.3 — I get the following traceback when starting up RoboFont:</p>
<pre><code class="language-console">  File "lib/doodleDelegate.pyc", line 95, in sendEvent_
  File "/Applications/RoboFont.app/Contents/Resources/lib/python3.7/vanilla/dialogs.py", line 72, in completionHandler_
    self._resultCallback(self._result)
  File "lib/UI/pathPopUpButton.pyc", line 45, in _choosePath
  File "lib/UI/preferences/preferencesPythonEditor.pyc", line 71, in pathChooserCallback
  File "lib/scripting/setScriptMainMenu.pyc", line 45, in setScriptMainMenu
  File "lib/UI/fileBrowser.pyc", line 777, in getMenu
  File "lib/UI/fileBrowser.pyc", line 779, in getMenu
  File "lib/UI/fileBrowser.pyc", line 779, in getMenu
  File "lib/UI/fileBrowser.pyc", line 775, in getMenu
  File "lib/UI/fileBrowser.pyc", line 758, in __iter__
  File "lib/UI/fileBrowser.pyc", line 745, in getChild_
  File "lib/UI/fileBrowser.pyc", line 639, in __init__
  File "lib/UI/fileBrowser.pyc", line 652, in buildNaming
  File "codecs.pyc", line 322, in decode
UnicodeDecodeError: 'utf-8' codec can't decode byte 0xc5 in position 3339: invalid continuation byte
</code></pre>
<p dir="auto">I changed the several files names that had non-ascii characters but it still breaks. Any idea of what to do besides unlink the scripts folder?</p>
<p dir="auto">Thanks,<br />
C</p>
]]></description><link>https://forum.robofont.com/topic/754/unicodedecodeerror-when-building-scripts-menu</link><generator>RSS for Node</generator><lastBuildDate>Fri, 10 Jul 2026 07:45:35 GMT</lastBuildDate><atom:link href="https://forum.robofont.com/topic/754.rss" rel="self" type="application/rss+xml"/><pubDate>Tue, 03 Dec 2019 22:13:34 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to UnicodeDecodeError when building Scripts menu on Thu, 12 Dec 2019 23:16:29 GMT]]></title><description><![CDATA[<p dir="auto">I just updated RF from 3.3b =&gt; 3.3 — I get the following traceback when starting up RoboFont:</p>
<pre><code class="language-console">  File "lib/doodleDelegate.pyc", line 95, in sendEvent_
  File "/Applications/RoboFont.app/Contents/Resources/lib/python3.7/vanilla/dialogs.py", line 72, in completionHandler_
    self._resultCallback(self._result)
  File "lib/UI/pathPopUpButton.pyc", line 45, in _choosePath
  File "lib/UI/preferences/preferencesPythonEditor.pyc", line 71, in pathChooserCallback
  File "lib/scripting/setScriptMainMenu.pyc", line 45, in setScriptMainMenu
  File "lib/UI/fileBrowser.pyc", line 777, in getMenu
  File "lib/UI/fileBrowser.pyc", line 779, in getMenu
  File "lib/UI/fileBrowser.pyc", line 779, in getMenu
  File "lib/UI/fileBrowser.pyc", line 775, in getMenu
  File "lib/UI/fileBrowser.pyc", line 758, in __iter__
  File "lib/UI/fileBrowser.pyc", line 745, in getChild_
  File "lib/UI/fileBrowser.pyc", line 639, in __init__
  File "lib/UI/fileBrowser.pyc", line 652, in buildNaming
  File "codecs.pyc", line 322, in decode
UnicodeDecodeError: 'utf-8' codec can't decode byte 0xc5 in position 3339: invalid continuation byte
</code></pre>
<p dir="auto">I changed the several files names that had non-ascii characters but it still breaks. Any idea of what to do besides unlink the scripts folder?</p>
<p dir="auto">Thanks,<br />
C</p>
]]></description><link>https://forum.robofont.com/post/2842</link><guid isPermaLink="true">https://forum.robofont.com/post/2842</guid><dc:creator><![CDATA[connor]]></dc:creator><pubDate>Thu, 12 Dec 2019 23:16:29 GMT</pubDate></item><item><title><![CDATA[Reply to UnicodeDecodeError when building Scripts menu on Wed, 04 Dec 2019 09:41:41 GMT]]></title><description><![CDATA[<p dir="auto">I cannot reproduce it with a file containing non-ascii or emoji.</p>
<p dir="auto">Could you share such a file (or only the header, the first five lines)</p>
<p dir="auto">thanks</p>
]]></description><link>https://forum.robofont.com/post/2843</link><guid isPermaLink="true">https://forum.robofont.com/post/2843</guid><dc:creator><![CDATA[frederik]]></dc:creator><pubDate>Wed, 04 Dec 2019 09:41:41 GMT</pubDate></item><item><title><![CDATA[Reply to UnicodeDecodeError when building Scripts menu on Wed, 04 Dec 2019 09:51:00 GMT]]></title><description><![CDATA[<p dir="auto">hello <a class="plugin-mentions-user plugin-mentions-a" href="https://forum.robofont.com/uid/213">@connor</a>,</p>
<ul>
<li>was it working before the update to 3.3?</li>
<li>are you sure the file is saved with utf-8 encoding?</li>
</ul>
<p dir="auto">thanks for any additional info</p>
]]></description><link>https://forum.robofont.com/post/2844</link><guid isPermaLink="true">https://forum.robofont.com/post/2844</guid><dc:creator><![CDATA[gferreira]]></dc:creator><pubDate>Wed, 04 Dec 2019 09:51:00 GMT</pubDate></item><item><title><![CDATA[Reply to UnicodeDecodeError when building Scripts menu on Wed, 11 Dec 2019 17:58:28 GMT]]></title><description><![CDATA[<p dir="auto">Sorry for the late reply! <a class="plugin-mentions-user plugin-mentions-a" href="https://forum.robofont.com/uid/22">@gferreira</a>, yes it was working perfectly fine with 3.3b. I am going to just try and go through all the files and test that they're utf-8 properly encoded. I thought I knew which one was causing the issue but...I was wrong. I'll be back with more info soon:)</p>
]]></description><link>https://forum.robofont.com/post/2872</link><guid isPermaLink="true">https://forum.robofont.com/post/2872</guid><dc:creator><![CDATA[connor]]></dc:creator><pubDate>Wed, 11 Dec 2019 17:58:28 GMT</pubDate></item><item><title><![CDATA[Reply to UnicodeDecodeError when building Scripts menu on Wed, 11 Dec 2019 20:27:22 GMT]]></title><description><![CDATA[<p dir="auto">Very weird, the files causing the problem was the <code>Autohint.py</code> file from the <em>Adobe Type</em> Github and the another random file file. Thanks though!</p>
<p dir="auto">C</p>
]]></description><link>https://forum.robofont.com/post/2874</link><guid isPermaLink="true">https://forum.robofont.com/post/2874</guid><dc:creator><![CDATA[connor]]></dc:creator><pubDate>Wed, 11 Dec 2019 20:27:22 GMT</pubDate></item><item><title><![CDATA[Reply to UnicodeDecodeError when building Scripts menu on Fri, 13 Dec 2019 12:50:19 GMT]]></title><description><![CDATA[<p dir="auto">I cannot reproduce it with <code>Autohint.py</code>.</p>
<p dir="auto">Could you share 'the another random file'?</p>
]]></description><link>https://forum.robofont.com/post/2886</link><guid isPermaLink="true">https://forum.robofont.com/post/2886</guid><dc:creator><![CDATA[frederik]]></dc:creator><pubDate>Fri, 13 Dec 2019 12:50:19 GMT</pubDate></item><item><title><![CDATA[Reply to UnicodeDecodeError when building Scripts menu on Fri, 13 Dec 2019 14:14:24 GMT]]></title><description><![CDATA[<p dir="auto">Sorry, I should have been more specific! When I ran a script to check for utf-8 encoded files the only two that threw an error were these: the <code>Autohint.py</code> and <a href="%60%60%60">GlyphProofer</a> from House's GitHub.</p>
]]></description><link>https://forum.robofont.com/post/2893</link><guid isPermaLink="true">https://forum.robofont.com/post/2893</guid><dc:creator><![CDATA[connor]]></dc:creator><pubDate>Fri, 13 Dec 2019 14:14:24 GMT</pubDate></item><item><title><![CDATA[Reply to UnicodeDecodeError when building Scripts menu on Fri, 13 Dec 2019 15:20:00 GMT]]></title><description><![CDATA[<p dir="auto">mm, very strange</p>
<p dir="auto">I still dont get it :(</p>
<p dir="auto">what kind of script did you run? (to reveal those two files)</p>
<p dir="auto">can you share the content of your scripting folder? (also possible off-forum)</p>
<p dir="auto">RoboFont supports this:</p>
<ul>
<li>The file name of the script can contain non ascii characters</li>
<li>The script can contain non ascii characters</li>
<li>The menu short cuts can also contain non ascii characters</li>
</ul>
]]></description><link>https://forum.robofont.com/post/2896</link><guid isPermaLink="true">https://forum.robofont.com/post/2896</guid><dc:creator><![CDATA[frederik]]></dc:creator><pubDate>Fri, 13 Dec 2019 15:20:00 GMT</pubDate></item><item><title><![CDATA[Reply to UnicodeDecodeError when building Scripts menu on Fri, 13 Dec 2019 15:54:02 GMT]]></title><description><![CDATA[<p dir="auto">I pretty much used <a href="https://stackoverflow.com/a/3269323" rel="nofollow">this script</a> while going through my whole script folder. The folder pretty big and very unorganized at the moment, but I'll send you an email with that. Thanks for all the help, Frederik!</p>
]]></description><link>https://forum.robofont.com/post/2897</link><guid isPermaLink="true">https://forum.robofont.com/post/2897</guid><dc:creator><![CDATA[connor]]></dc:creator><pubDate>Fri, 13 Dec 2019 15:54:02 GMT</pubDate></item></channel></rss>