<html>
    <head>
      <base href="https://bugs.documentfoundation.org/">
    </head>
    <body>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_UNCONFIRMED "
   title="UNCONFIRMED - C locale is currently broken for file handling"
   href="https://bugs.documentfoundation.org/show_bug.cgi?id=125995#c3">Comment # 3</a>
              on <a class="bz_bug_link 
          bz_status_UNCONFIRMED "
   title="UNCONFIRMED - C locale is currently broken for file handling"
   href="https://bugs.documentfoundation.org/show_bug.cgi?id=125995">bug 125995</a>
              from <span class="vcard"><a class="email" href="mailto:glogow@fbihome.de" title="Jan-Marek Glogowski <glogow@fbihome.de>"> <span class="fn">Jan-Marek Glogowski</span></a>
</span></b>
        <pre>Thanks for the input. The gen file picker also works - as expected - if I set
LANG=C.UTF-8. I forgot that, thanks for the reminder.

(In reply to Stephan Bergmann from <a href="show_bug.cgi?id=125995#c1">comment #1</a>)
<span class="quote">> (In reply to Jan-Marek Glogowski from <a href="show_bug.cgi?id=125995#c0">comment #0</a>)

> I'm not sure why you qualify this issue with "currently".  The behavior
> should be as it is ever since OOo.</span >

Ok.

So I tried to find the definition for the C / POSIX locale and found:
<a href="https://pubs.opengroup.org/onlinepubs/9699919799/basedefs/V1_chap07.html">https://pubs.opengroup.org/onlinepubs/9699919799/basedefs/V1_chap07.html</a> and
<a href="http://port70.net/~nsz/c/c89/c89-draft.html">http://port70.net/~nsz/c/c89/c89-draft.html</a>

What I actually couldn't find is a setting, which has any meaning with regard
to the filesystem encoding. If you say file names are just strings, then
LC_CTYPE might match, but IMHO that's today a long shot.

So now arises the question: should / can we change the C locale to default to
UTF-8 for interpreting filenames instead of ISO_8859_1, which is today much
more common?
I don't know if this actually does match. And I'm also not sure this is
feasible in a sensible matter in LO, but somehow Qt and Gtk+ make this
assumption and act accordingly.

I'm not aware of any other system API, which could be queried for something
like that. I tested gimp on Windowmaker with xterm and LANG=C. Still there
might be some system setting.</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>