<html>
    <head>
      <base href="https://bugs.llvm.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 - Verbose mode unicode archive name printing is incorrect"
   href="https://bugs.llvm.org/show_bug.cgi?id=38669">38669</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>Verbose mode unicode archive name printing is incorrect
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>tools
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>trunk
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>PC
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>Windows NT
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>NEW
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>enhancement
          </td>
        </tr>

        <tr>
          <th>Priority</th>
          <td>P
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>llvm-ar
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>unassignedbugs@nondot.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>snortotter@gmail.com
          </td>
        </tr>

        <tr>
          <th>CC</th>
          <td>llvm-bugs@lists.llvm.org
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Created <span class=""><a href="attachment.cgi?id=20756" name="attach_20756" title="example object files in input folder">attachment 20756</a> <a href="attachment.cgi?id=20756&action=edit" title="example object files in input folder">[details]</a></span>
example object files in input folder

When using the verbose modifier and creating an archive with a name containing
Unicode characters, verbose printed archive name is mangled. However, the
name of the created archive on the filesystem is correct.
This issue was observed on Windows 10 using Git Bash and could not be
reproduced
on Ubuntu. For example,

On Windows 10:
$ llvm-ar -rv llvm-ar☢☣.arc ./input/a.o ./input/b.o
llvm-ar.exe: creating llvm-arÔÿóÔÿú.arc

On Ubuntu 16.04:
$ llvm-ar rv llvm-ar☢☣.arc ./input/a.o ./input/b.o
llvm-ar: creating llvm-ar☢☣.arc</pre>
        </div>
      </p>


      <hr>
      <span>You are receiving this mail because:</span>

      <ul>
          <li>You are on the CC list for the bug.</li>
      </ul>
    </body>
</html>