<html>
    <head>
      <base href="http://bugzilla.wpkg.org/" />
    </head>
    <body><span class="vcard"><a class="email" href="mailto:r.meier@wpkg.org" title="Rainer Meier <r.meier@wpkg.org>"> <span class="fn">Rainer Meier</span></a>
</span> changed
              <a class="bz_bug_link 
          bz_status_RESOLVED  bz_closed"
   title="RESOLVED FIXED - wpkg.js won't run on non-uncode is set to c04"
   href="http://bugzilla.wpkg.org/show_bug.cgi?id=291">bug 291</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;">Resolution</td>
           <td>---
           </td>
           <td>FIXED
           </td>
         </tr>

         <tr>
           <td style="text-align:right;">Status</td>
           <td>NEW
           </td>
           <td>RESOLVED
           </td>
         </tr></table>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_RESOLVED  bz_closed"
   title="RESOLVED FIXED - wpkg.js won't run on non-uncode is set to c04"
   href="http://bugzilla.wpkg.org/show_bug.cgi?id=291#c6">Comment # 6</a>
              on <a class="bz_bug_link 
          bz_status_RESOLVED  bz_closed"
   title="RESOLVED FIXED - wpkg.js won't run on non-uncode is set to c04"
   href="http://bugzilla.wpkg.org/show_bug.cgi?id=291">bug 291</a>
              from <span class="vcard"><a class="email" href="mailto:r.meier@wpkg.org" title="Rainer Meier <r.meier@wpkg.org>"> <span class="fn">Rainer Meier</span></a>
</span></b>
        <pre>Alright, I think I found the root cause of this issue. In some specific
language settings Windows does not write unicode text files by default but is
using local codepages.
In case of Chinese (Hong Kong SAR) setting on Vista this is causing an issue
due to Vista containing the (TM) and (R) symbols which is written to the log
file.

I have solved this by forcing the log files to be written in unicode.

I also fixed an issue reported on the mailing list about WPKG now writing the
running registry key.

Changelog:

Changes 2016-10-22, v1.3.2-RC2 by Rainer Meier <r.meier (at) wpkg.org>
FIX: Forcing OS to write logfile in Unicode to fix exception 800a0005 when
     writing unicode characters to the log on OS with non-unicode application
     settings set to languages like "Chinese (Hong Kong SAR)".
     Fixes <a class="bz_bug_link 
          bz_status_RESOLVED  bz_closed"
   title="RESOLVED FIXED - wpkg.js won't run on non-uncode is set to c04"
   href="show_bug.cgi?id=291">bug 291</a>. Thanks to "isd".
FIX: Setting running state in registry (HKLM\Software\WPKG\running)) on WPKG
     startup.
     Thanks to Niels Thiele for reporting this on the mailing list.



WPKG 1.3.2-RC2 has not been released yet. Though you can get the latest wpkg.js
from Sourceforge:

<<a href="https://sourceforge.net/p/wpkg/code/HEAD/tree/wpkg/stable/src/main/resources/wpkg/wpkg.js">https://sourceforge.net/p/wpkg/code/HEAD/tree/wpkg/stable/src/main/resources/wpkg/wpkg.js</a>>
(Download it using the "Download this file" link on top of the page.

As always it's safe to just drop-replace your wpkg.js with the SVN version.

Please report if this fixes your problem.</pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are the QA Contact for the bug.</li>
      </ul>
    </body>
</html>