<html>
    <head>
      <base href="https://bugs.freedesktop.org/" />
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Priority</th>
          <td>medium
          </td>
        </tr>

        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW --- - pdftohtml should include charset encoding in head section"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=69454">69454</a>
          </td>
        </tr>

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

        <tr>
          <th>Summary</th>
          <td>pdftohtml should include charset encoding in head section
          </td>
        </tr>

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

        <tr>
          <th>Classification</th>
          <td>Unclassified
          </td>
        </tr>

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

        <tr>
          <th>Reporter</th>
          <td>samuel.thibault@ens-lyon.org
          </td>
        </tr>

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

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

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

        <tr>
          <th>Component</th>
          <td>utils
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>poppler
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Created <span class=""><a href="attachment.cgi?id=85950" name="attach_85950" title="test file">attachment 85950</a> <a href="attachment.cgi?id=85950&action=edit" title="test file">[details]</a></span>
test file

Hello,

After having converted a pdf file to html, all the UTF-8 characters such
as ● get bogus in the web browser, because the html file does not
advertise the character set encoding of the file. pdftohtml should add
this inside its <head>:

<meta http-equiv="content-type" content="text/html;charset=utf-8" />

Pino Toscano added on <a href="http://bugs.debian.org/722281">http://bugs.debian.org/722281</a> that “This is
added already in some occasions, but apparently not in frames when
doing the "complex HTML output".”

For instance, after converting <a href="http://brl.thefreecat.org/ghm13.pdf">http://brl.thefreecat.org/ghm13.pdf</a>
(also attached here), ghm13s.html does not contain any encoding.

Samuel</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>