<div dir="ltr">Charsets are registered by IANA. <br><a href="https://tools.ietf.org/html/rfc2978">https://tools.ietf.org/html/rfc2978</a><br><a href="https://www.iana.org/assignments/character-sets/character-sets.xhtml">https://www.iana.org/assignments/character-sets/character-sets.xhtml</a><br><br>Of course, it doesn&#39;t particularly help in this case because filesystems for the most part (*) just care about octets and don&#39;t interpret them. The filesystem isn&#39;t going to tell you an encoding scheme for a name. <br><br>(*) Some filesystems do for example case folding or unicode normalizations. However for opening a file pretty much the only guarantee is that the octets you got from a directory listing of filesystem can be used to open the file. </div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, Mar 7, 2019 at 11:32 AM Ben Boeckel via Modules &lt;<a href="mailto:modules@lists.isocpp.org">modules@lists.isocpp.org</a>&gt; wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On Thu, Mar 07, 2019 at 11:16:15 -0500, Tom Honermann wrote:<br>
&gt; Strawman update to the JSON schema to support this:<br>
&gt; <br>
&gt;    {<br>
&gt;      ...<br>
&gt;      &quot;definitions&quot;: {<br>
&gt; +     &quot;filename-encoding&quot;: {<br>
&gt; +       &quot;$id&quot;: &quot;#filename-encoding&quot;,<br>
&gt; +       &quot;type&quot;: [<br>
&gt; +         &quot;string&quot;,<br>
&gt; +       ],<br>
&gt; +       &quot;description&quot;: &quot;The name of the character encoding used to <br>
&gt; interpret filenames&quot;,<br>
<br>
Which ISO/IETF standard are we referencing for encoding names?<br>
<br>
  - utf-8<br>
  - UTF-8<br>
  - utf8<br>
  - UTF8<br>
<br>
Do we need codepage information as well? Is that &quot;standard&quot; anywhere?<br>
<br>
What happens if an encoding that cannot be losslessly roundtripped is<br>
specified (e.g., Shift-JIS)?<br>
<br>
--Ben<br>
_______________________________________________<br>
Modules mailing list<br>
<a href="mailto:Modules@lists.isocpp.org" target="_blank">Modules@lists.isocpp.org</a><br>
Subscription: <a href="http://lists.isocpp.org/mailman/listinfo.cgi/modules" rel="noreferrer" target="_blank">http://lists.isocpp.org/mailman/listinfo.cgi/modules</a><br>
Link to this post: <a href="http://lists.isocpp.org/modules/2019/03/0208.php" rel="noreferrer" target="_blank">http://lists.isocpp.org/modules/2019/03/0208.php</a><br>
</blockquote></div>