<?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[Non-standard unicode chars and execution from shell]]></title><description><![CDATA[<p dir="auto">Hello!<br />
Is it possible to run scripts with <code>robofont -p $path</code> command with path, containing non-standard unicode characters?<br />
Doesn't work for me. Also i've tried to add this path to <code>sys.path</code> on starting up, but this only allow to import from it with <code>robofont -c "import .."</code>, but it's not exactly what I need.</p>
]]></description><link>https://forum.robofont.com/topic/701/non-standard-unicode-chars-and-execution-from-shell</link><generator>RSS for Node</generator><lastBuildDate>Sat, 09 May 2026 14:58:22 GMT</lastBuildDate><atom:link href="https://forum.robofont.com/topic/701.rss" rel="self" type="application/rss+xml"/><pubDate>Wed, 25 Sep 2019 14:57:56 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Non-standard unicode chars and execution from shell on Thu, 26 Sep 2019 08:26:26 GMT]]></title><description><![CDATA[<p dir="auto">Hello!<br />
Is it possible to run scripts with <code>robofont -p $path</code> command with path, containing non-standard unicode characters?<br />
Doesn't work for me. Also i've tried to add this path to <code>sys.path</code> on starting up, but this only allow to import from it with <code>robofont -c "import .."</code>, but it's not exactly what I need.</p>
]]></description><link>https://forum.robofont.com/post/2641</link><guid isPermaLink="true">https://forum.robofont.com/post/2641</guid><dc:creator><![CDATA[Max Ilinov]]></dc:creator><pubDate>Thu, 26 Sep 2019 08:26:26 GMT</pubDate></item><item><title><![CDATA[Reply to Non-standard unicode chars and execution from shell on Thu, 26 Sep 2019 08:25:57 GMT]]></title><description><![CDATA[<p dir="auto">hello <a class="plugin-mentions-user plugin-mentions-a" href="https://forum.robofont.com/uid/227">@Max-Ilinov</a>,</p>
<p dir="auto">not sure what you mean by “non-standard unicode characters” – can you give an example? (I’ve just tested with a simple <code>print('привет мир')</code> script, works fine)</p>
<p dir="auto">to add a module to RoboFont during start up, there are two options:</p>
<ol>
<li>add it to <code>sys.path</code> using a <a href="http://robofont.com/documentation/workspace/preferences-window/extensions/#start-up-scripts" rel="nofollow">start up script</a></li>
<li>copy the library into the <a href="http://robofont.com/documentation/how-tos/overriding-embedded-libraries/#overriding-embedded-libraries" rel="nofollow">external_packages</a> folder</li>
</ol>
<p dir="auto">hope this helps!</p>
]]></description><link>https://forum.robofont.com/post/2642</link><guid isPermaLink="true">https://forum.robofont.com/post/2642</guid><dc:creator><![CDATA[gferreira]]></dc:creator><pubDate>Thu, 26 Sep 2019 08:25:57 GMT</pubDate></item><item><title><![CDATA[Reply to Non-standard unicode chars and execution from shell on Thu, 26 Sep 2019 16:47:38 GMT]]></title><description><![CDATA[<p dir="auto">Hello, <a class="plugin-mentions-user plugin-mentions-a" href="https://forum.robofont.com/uid/22">@gferreira</a>, and thank you!<br />
I'm trying to run script in robofont with shell command. But my working path contains a character <code>ꙭ</code>, double monocular o.<br />
Shell command in this case looks like this:</p>
<pre><code class="language-bash">robofont -p ~/Documents/Work/ꙭ/project/scripts/allratioslookup.py
</code></pre>
<p dir="auto">It's working when I put the script outside the folder <code>ꙭ</code>, so I think it's the reason.</p>
<p dir="auto">It's a quite big project with many scripts written for and also with direct links in those scripts across all the folders in this project, so it can be difficult to change the path for now. (I think it might be a simplest solution)</p>
<p dir="auto">If it's not possible, it is ok, I'm just doing some optimisation, so it might be helpfull, but not necessary.</p>
]]></description><link>https://forum.robofont.com/post/2643</link><guid isPermaLink="true">https://forum.robofont.com/post/2643</guid><dc:creator><![CDATA[Max Ilinov]]></dc:creator><pubDate>Thu, 26 Sep 2019 16:47:38 GMT</pubDate></item><item><title><![CDATA[Reply to Non-standard unicode chars and execution from shell on Thu, 26 Sep 2019 17:53:12 GMT]]></title><description><![CDATA[<p dir="auto">hi <a class="plugin-mentions-user plugin-mentions-a" href="https://forum.robofont.com/uid/227">@Max-Ilinov</a>,</p>
<p dir="auto">thanks for the clarification – so it’s about unicode characters in the <em>file name</em> passed as argument to the RoboFont shell.</p>
<p dir="auto">I’ve found a way to make it work, at least on my machine.</p>
<p dir="auto">please give this a try:</p>
<ol>
<li>
<p dir="auto">find the the RoboFont shell script in <code>usr/local/bin/roboFont</code> (alias), open it in a code editor</p>
</li>
<li>
<p dir="auto">look for <code>options[argKey].append(arg)</code> (line 47) – change <code>arg</code> to <code>arg.decode('utf-8')</code></p>
</li>
<li>
<p dir="auto">save the changes to the shell script, restart the Terminal, and try again</p>
</li>
</ol>
<p dir="auto">good luck!</p>
]]></description><link>https://forum.robofont.com/post/2644</link><guid isPermaLink="true">https://forum.robofont.com/post/2644</guid><dc:creator><![CDATA[gferreira]]></dc:creator><pubDate>Thu, 26 Sep 2019 17:53:12 GMT</pubDate></item><item><title><![CDATA[Reply to Non-standard unicode chars and execution from shell on Fri, 27 Sep 2019 16:38:22 GMT]]></title><description><![CDATA[<p dir="auto">Gustavo, thank you a lot!<br />
It works!</p>
]]></description><link>https://forum.robofont.com/post/2647</link><guid isPermaLink="true">https://forum.robofont.com/post/2647</guid><dc:creator><![CDATA[Max Ilinov]]></dc:creator><pubDate>Fri, 27 Sep 2019 16:38:22 GMT</pubDate></item></channel></rss>