<!-- 
RSS generated by JIRA (9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c) at Sat Feb 10 03:21:08 UTC 2024

It is possible to restrict the fields that are returned in this document by specifying the 'field' parameter in your request.
For example, to request only the issue key and summary append 'field=key&field=summary' to the URL of your request.
-->
<rss version="0.92" >
<channel>
    <title>Whamcloud Community JIRA</title>
    <link>https://jira.whamcloud.com</link>
    <description>This file is an XML representation of an issue</description>
    <language>en-us</language>    <build-info>
        <version>9.4.14</version>
        <build-number>940014</build-number>
        <build-date>05-12-2023</build-date>
    </build-info>


<item>
            <title>[LU-15768] Add tests for UTF-8 and UTF-16 handling.</title>
                <link>https://jira.whamcloud.com/browse/LU-15768</link>
                <project id="10000" key="LU">Lustre</project>
                    <description>&lt;p&gt;AFAIK, we don&apos;t test UTF-8 or UTF-16 support for a variety of reasons (mostly because the file system itself should support it without issue). That said, given the wide range of possible file names these days, including file names with emojies it should be tested to ensure that this does in fact work as expected.&lt;/p&gt;

&lt;p&gt;Another thing to note here is that the existing tests may blow up with these character  sets and may need some adjustments like LANG=C.UTF-8 to ensure the environment is ready for UTF-8 support.&lt;/p&gt;

&lt;p&gt;Thoughts?&lt;/p&gt;</description>
                <environment></environment>
        <key id="69829">LU-15768</key>
            <summary>Add tests for UTF-8 and UTF-16 handling.</summary>
                <type id="4" iconUrl="https://jira.whamcloud.com/secure/viewavatar?size=xsmall&amp;avatarId=11310&amp;avatarType=issuetype">Improvement</type>
                                            <priority id="4" iconUrl="https://jira.whamcloud.com/images/icons/priorities/minor.svg">Minor</priority>
                        <status id="1" iconUrl="https://jira.whamcloud.com/images/icons/statuses/open.png" description="The issue is open and ready for the assignee to start work on it.">Open</status>
                    <statusCategory id="2" key="new" colorName="default"/>
                                    <resolution id="-1">Unresolved</resolution>
                                        <assignee username="wc-triage">WC Triage</assignee>
                                    <reporter username="cfaber">Colin Faber</reporter>
                        <labels>
                    </labels>
                <created>Wed, 20 Apr 2022 15:25:27 +0000</created>
                <updated>Thu, 21 Apr 2022 17:37:51 +0000</updated>
                                                                                <due></due>
                            <votes>0</votes>
                                    <watches>2</watches>
                                                                            <comments>
                            <comment id="332575" author="jhammond" created="Thu, 21 Apr 2022 17:37:51 +0000"  >&lt;p&gt;Linux system calls do not support paths encoded as UTF-16 strings. When the string &lt;tt&gt;&quot;foo/bar&quot;&lt;/tt&gt; is encoded in UTF-16 every other byte will be NUL (0). To the Linux kernel and to Lustre, a path is a NUL terminated sequence of bytes.&lt;/p&gt;

&lt;p&gt;I would be surprised if a well written application would attempt to use a UTF-16 encoded string as a path on Linux.&lt;/p&gt;

&lt;p&gt;There are no UTF-16 locales.&lt;/p&gt;

&lt;p&gt;UTF-8 encoded string with Emojis or whatever work just fine as pathnames. They also work just fine with the kind of string handling done in a command like lfs.&lt;/p&gt;

&lt;p&gt;One issue that may arise is with something like Python which is very strict about encoding correctness. To make up for the strictness, Python includes a path container type (see &lt;a href=&quot;https://docs.python.org/3/library/pathlib.html&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://docs.python.org/3/library/pathlib.html&lt;/a&gt;).&lt;/p&gt;</comment>
                    </comments>
                    <attachments>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                                                                                                                                                            <customfield id="customfield_10890" key="com.atlassian.jira.plugins.jira-development-integration-plugin:devsummary">
                        <customfieldname>Development</customfieldname>
                        <customfieldvalues>
                            
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                        <customfield id="customfield_10390" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|i02njr:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10090" key="com.pyxis.greenhopper.jira:gh-global-rank">
                        <customfieldname>Rank (Obsolete)</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>9223372036854775807</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                </customfields>
    </item>
</channel>
</rss>