<html>
    <head>
      <base href="https://bugs.documentfoundation.org/">
    </head>
    <body><span class="vcard"><a class="email" href="mailto:andreas.heinisch@yahoo.de" title="Andreas Heinisch <andreas.heinisch@yahoo.de>"> <span class="fn">Andreas Heinisch</span></a>
</span> changed
          <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - Make UTF-8 the default charset for saving as HTML"
   href="https://bugs.documentfoundation.org/show_bug.cgi?id=37615">bug 37615</a>
          <br>
             <table border="1" cellspacing="0" cellpadding="8">
          <tr>
            <th>What</th>
            <th>Removed</th>
            <th>Added</th>
          </tr>

         <tr>
           <td style="text-align:right;">CC</td>
           <td>
                
           </td>
           <td>andreas.heinisch@yahoo.de
           </td>
         </tr></table>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - Make UTF-8 the default charset for saving as HTML"
   href="https://bugs.documentfoundation.org/show_bug.cgi?id=37615#c13">Comment # 13</a>
              on <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - Make UTF-8 the default charset for saving as HTML"
   href="https://bugs.documentfoundation.org/show_bug.cgi?id=37615">bug 37615</a>
              from <span class="vcard"><a class="email" href="mailto:andreas.heinisch@yahoo.de" title="Andreas Heinisch <andreas.heinisch@yahoo.de>"> <span class="fn">Andreas Heinisch</span></a>
</span></b>
        <pre>This can be solved in various ways, and atm I am not sure which is the best
approach:

- The easiest way to solve this is to just change the encoding to UTF8 for all
plattforms in
<a href="https://opengrok.libreoffice.org/xref/core/cui/source/options/opthtml.cxx?r=da9bba7c#62">https://opengrok.libreoffice.org/xref/core/cui/source/options/opthtml.cxx?r=da9bba7c#62</a>
(m_xCharSetLB->SelectTextEncoding(RTL_TEXTENCODING_UTF8);)

- The best way however should to check, if the function
SvxTextEncodingBox::FillWithMimeAndSelectBest and
SvtSysLocale::GetBestMimeEncoding can be changed to always show the utf8
charset. However, these functions retrieve the charset from the Windows code
page, and it contains the windows-1252 charset on Windows. You may change the
charset on Windows to UTF8 as well.

- Maybe also the SvxTextEncodingBox::FillWithMimeAndSelectBest can be adjusted
in order to get always the UTF8 charset on every platform.

Opinions?</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>