<html>
<head>
<base href="https://bugs.freedesktop.org/">
</head>
<body><table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Bug ID</th>
<td><a class="bz_bug_link
bz_status_NEW "
title="NEW - fontconfig warning if no locales installed"
href="https://bugs.freedesktop.org/show_bug.cgi?id=104023">104023</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>fontconfig warning if no locales installed
</td>
</tr>
<tr>
<th>Product</th>
<td>fontconfig
</td>
</tr>
<tr>
<th>Version</th>
<td>2.11
</td>
</tr>
<tr>
<th>Hardware</th>
<td>All
</td>
</tr>
<tr>
<th>OS</th>
<td>Linux (All)
</td>
</tr>
<tr>
<th>Status</th>
<td>NEW
</td>
</tr>
<tr>
<th>Severity</th>
<td>minor
</td>
</tr>
<tr>
<th>Priority</th>
<td>medium
</td>
</tr>
<tr>
<th>Component</th>
<td>library
</td>
</tr>
<tr>
<th>Assignee</th>
<td>fontconfig-bugs@lists.freedesktop.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>philip.race@oracle.com
</td>
</tr>
<tr>
<th>QA Contact</th>
<td>freedesktop@behdad.org
</td>
</tr></table>
<p>
<div>
<pre>Here I am on a fully working Ubuntu 16.04 LTS and ordinarily I get no warning
$ env|grep LANG
LANG=en_US.UTF-8
$ fc-match sans
DejaVuSans.ttf: "DejaVu Sans" "Book"
But if I mimic having no locales :
$ export LANG=UTF-8
$ fc-match sans
Fontconfig warning: ignoring UTF-8: not a valid region tag
DejaVuSans.ttf: "DejaVu Sans" "Book"
So in other words if you don't install any locales on the system, fontconfig
will issue this error.
This came up in a minimal new install used for some testing.
Perhaps a setting of UTF-8 should be silently ignored but
a conclusion that fontconfig should always warn in this situation is
fine by me, but I'd at least like to document it.</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>