<?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[xoa, xoa-updater ignore LC variables]]></title><description><![CDATA[<p dir="auto">Hello.<br />
Seems that xoa and xoa-updater commands ignore LC variables.</p>
<p dir="auto">With (probably a default one) UTF8 set I got unreadable (UTF8?) characters. This is already expected ;-(</p>
<pre><code>xoa:~$ export LC=en_US.UTF-8 LC_CTYPE=en_US.UTF-8 LC_ALL=en_US.UTF-8
xoa:~$
xoa:~$ xoa check
â Node version
â xo-server config syntax
â Disk space for /var
â Disk space for /
â XOA version
â Native SMB support
â Appliance registration
â npm version
â Internet connectivity
xoa:~$
xoa:~$ xoa-updater
stable channel selected.

â
 š All up to date
</code></pre>
<p dir="auto">Similar unreadable stuff with systemctl, not a surprise:</p>
<pre><code>xoa:~$ systemctl status xoa-updater.service
â xoa-updater.service - XOA Updater
   Loaded: loaded (/etc/systemd/system/xoa-updater.service; enabled; vendor pres
   Active: active (running) since Fri 2019-05-31 03:24:14 CEST; 14h ago
 Main PID: 489 (node)
    Tasks: 10 (limit: 19660)
   CGroup: /system.slice/xoa-updater.service
           ââ489 node /usr/local/bin/xoa-updater-start
</code></pre>
<p dir="auto">Now I set clean classical variables:</p>
<p dir="auto"><code>xoa:~$ export LC=C LC_CTYPE=C LC_ALL=C</code></p>
<p dir="auto">Systemctl behaves properly, that is it uses <code>*</code> not <code>â</code> and <code>`-</code> not <code>ââ</code>:</p>
<pre><code>xoa:~$ systemctl status xoa-updater.service
* xoa-updater.service - XOA Updater
   Loaded: loaded (/etc/systemd/system/xoa-updater.service; enabled; vendor pres
   Active: active (running) since Fri 2019-05-31 03:24:14 CEST; 14h ago
 Main PID: 489 (node)
    Tasks: 10 (limit: 19660)
   CGroup: /system.slice/xoa-updater.service
           `-489 node /usr/local/bin/xoa-updater-start
</code></pre>
<p dir="auto">But xoa and xoa-updater - not!</p>
<pre><code>xoa:~$ xoa check
â Node version
â xo-server config syntax
â Disk space for /var
â Disk space for /
â XOA version
â Appliance registration
â Native SMB support
â npm version
â Internet connectivity
xoa:~$
xoa:~$ xoa-updater
stable channel selected.

â
 š All up to date
</code></pre>
<p dir="auto">That is, still unreadable stuff.</p>
<p dir="auto">XOA is stable channel, up-to-date.</p>
<p dir="auto">Could it be corrected? Thanks!</p>
]]></description><link>https://xcp-ng.org/forum/topic/1425/xoa-xoa-updater-ignore-lc-variables</link><generator>RSS for Node</generator><lastBuildDate>Fri, 13 Mar 2026 07:56:40 GMT</lastBuildDate><atom:link href="https://xcp-ng.org/forum/topic/1425.rss" rel="self" type="application/rss+xml"/><pubDate>Fri, 31 May 2019 16:04:17 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to xoa, xoa-updater ignore LC variables on Wed, 05 Jun 2019 16:06:53 GMT]]></title><description><![CDATA[<p dir="auto">Yes, I know this is not exclusive to C, but there are some facilities to handle this, that are, as far as I know, not available in Node.</p>
]]></description><link>https://xcp-ng.org/forum/post/12460</link><guid isPermaLink="true">https://xcp-ng.org/forum/post/12460</guid><dc:creator><![CDATA[julien-f]]></dc:creator><pubDate>Wed, 05 Jun 2019 16:06:53 GMT</pubDate></item><item><title><![CDATA[Reply to xoa, xoa-updater ignore LC variables on Mon, 03 Jun 2019 17:21:19 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/forum/user/julien-f" aria-label="Profile: julien-f">@<bdi>julien-f</bdi></a> said in <a href="/forum/post/12381">xoa, xoa-updater ignore LC variables</a>:</p>
<blockquote>
<p dir="auto">I think it's pretty standard in C (and well supported), but I've never seen any Node CLIs handling this.</p>
</blockquote>
<p dir="auto">Though this locale is called C, it's not limited to C language.<br />
"C" locale is an alias to POSIX locale.</p>
<p dir="auto"><a href="https://pubs.opengroup.org/onlinepubs/009695399/basedefs/xbd_chap07.html" target="_blank" rel="noopener noreferrer nofollow ugc">https://pubs.opengroup.org/onlinepubs/009695399/basedefs/xbd_chap07.html</a></p>
<pre><code>7.2 POSIX Locale

Conforming systems shall provide a POSIX locale, also known as the C locale
</code></pre>
]]></description><link>https://xcp-ng.org/forum/post/12382</link><guid isPermaLink="true">https://xcp-ng.org/forum/post/12382</guid><dc:creator><![CDATA[MajorTom]]></dc:creator><pubDate>Mon, 03 Jun 2019 17:21:19 GMT</pubDate></item><item><title><![CDATA[Reply to xoa, xoa-updater ignore LC variables on Mon, 03 Jun 2019 16:34:59 GMT]]></title><description><![CDATA[<p dir="auto">I think it's pretty standard in C (and well supported), but I've never seen any Node CLIs handling this.</p>
<p dir="auto">Of course, with some effort, we could fix this but, as it it's a very minor issue and you're the only one to have reported, it's very low priority for us.</p>
<p dir="auto">If/when <a href="https://github.com/sindresorhus/log-symbols" target="_blank" rel="noopener noreferrer nofollow ugc">this library</a> support this, we'll be happy to fix it.</p>
]]></description><link>https://xcp-ng.org/forum/post/12381</link><guid isPermaLink="true">https://xcp-ng.org/forum/post/12381</guid><dc:creator><![CDATA[julien-f]]></dc:creator><pubDate>Mon, 03 Jun 2019 16:34:59 GMT</pubDate></item><item><title><![CDATA[Reply to xoa, xoa-updater ignore LC variables on Mon, 03 Jun 2019 16:14:14 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/forum/user/julien-f" aria-label="Profile: julien-f">@<bdi>julien-f</bdi></a> I have a few "hops" (systems that I must log into) on the way to the destination.</p>
<p dir="auto">AFAIK, software should obey LC to enable proper displaying in similar situations, among others <img src="https://xcp-ng.org/forum/assets/plugins/nodebb-plugin-emoji/emoji/android/1f642.png?v=e4fb0e60dbd" class="not-responsive emoji emoji-android emoji--slightly_smiling_face" style="height:23px;width:auto;vertical-align:middle" title=":-)" alt="🙂" /></p>
]]></description><link>https://xcp-ng.org/forum/post/12380</link><guid isPermaLink="true">https://xcp-ng.org/forum/post/12380</guid><dc:creator><![CDATA[MajorTom]]></dc:creator><pubDate>Mon, 03 Jun 2019 16:14:14 GMT</pubDate></item><item><title><![CDATA[Reply to xoa, xoa-updater ignore LC variables on Mon, 03 Jun 2019 15:25:31 GMT]]></title><description><![CDATA[<p dir="auto">You should have readable characters by default…</p>
<ol>
<li>What OS and terminal emulator are you using?</li>
<li>What is your local locale?</li>
</ol>
]]></description><link>https://xcp-ng.org/forum/post/12379</link><guid isPermaLink="true">https://xcp-ng.org/forum/post/12379</guid><dc:creator><![CDATA[julien-f]]></dc:creator><pubDate>Mon, 03 Jun 2019 15:25:31 GMT</pubDate></item><item><title><![CDATA[Reply to xoa, xoa-updater ignore LC variables on Mon, 03 Jun 2019 10:25:27 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/forum/user/julien-f" aria-label="Profile: julien-f">@<bdi>julien-f</bdi></a> said in <a href="/forum/post/12357">xoa, xoa-updater ignore LC variables</a>:</p>
<blockquote>
<p dir="auto">Indeed, this is not supported.</p>
<p dir="auto">Why do need this?</p>
</blockquote>
<p dir="auto">To have readable characters <img src="https://xcp-ng.org/forum/assets/plugins/nodebb-plugin-emoji/emoji/android/1f642.png?v=e4fb0e60dbd" class="not-responsive emoji emoji-android emoji--slightly_smiling_face" style="height:23px;width:auto;vertical-align:middle" title=":-)" alt="🙂" /></p>
]]></description><link>https://xcp-ng.org/forum/post/12361</link><guid isPermaLink="true">https://xcp-ng.org/forum/post/12361</guid><dc:creator><![CDATA[MajorTom]]></dc:creator><pubDate>Mon, 03 Jun 2019 10:25:27 GMT</pubDate></item><item><title><![CDATA[Reply to xoa, xoa-updater ignore LC variables on Mon, 03 Jun 2019 09:29:31 GMT]]></title><description><![CDATA[<p dir="auto">Indeed, this is not supported.</p>
<p dir="auto">Why do need this?<br />
It should work correctly in an XOA.</p>
]]></description><link>https://xcp-ng.org/forum/post/12357</link><guid isPermaLink="true">https://xcp-ng.org/forum/post/12357</guid><dc:creator><![CDATA[julien-f]]></dc:creator><pubDate>Mon, 03 Jun 2019 09:29:31 GMT</pubDate></item><item><title><![CDATA[Reply to xoa, xoa-updater ignore LC variables on Fri, 31 May 2019 16:54:19 GMT]]></title><description><![CDATA[<p dir="auto">Pinging <a class="plugin-mentions-user plugin-mentions-a" href="/forum/user/julien-f" aria-label="Profile: julien-f">@<bdi>julien-f</bdi></a></p>
]]></description><link>https://xcp-ng.org/forum/post/12328</link><guid isPermaLink="true">https://xcp-ng.org/forum/post/12328</guid><dc:creator><![CDATA[olivierlambert]]></dc:creator><pubDate>Fri, 31 May 2019 16:54:19 GMT</pubDate></item></channel></rss>