<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 - PDFDoc::setDocInfoStringEntry() should treat value consisting of just the unicode marker as an empty string"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=97449">97449</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>PDFDoc::setDocInfoStringEntry() should treat value consisting of just the unicode marker as an empty string
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>poppler
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>unspecified
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>Other
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>All
          </td>
        </tr>

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

        <tr>
          <th>Severity</th>
          <td>normal
          </td>
        </tr>

        <tr>
          <th>Priority</th>
          <td>medium
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>general
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>poppler-bugs@lists.freedesktop.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>jakubkucharski97@gmail.com
          </td>
        </tr></table>
      <p>
        <div>
        <pre>A frontend like glib during string conversion from UTF8 to UTF16-BE inserts the
unicode marker and when the input string is empty, then the output consists of
just the unicode marker which prevents PDFDoc::setDocInfoStringEntry() from
detecting that in reality it's an empty string. It may potentially occur in
other places, so I think it should be fixed in PDFDoc::setDocInfoStringEnty(),
not in the callers, since converting an empty string to just the unicode marker
seems like a valid behavior to me and in a sense such a string is really empty.</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>