<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
    <title></title>
  </head>
  <body bgcolor="#ffffff" text="#000000">
    There used to be a bug with this (but I don't know which version of
    EPrints you're using...)<br>
    <br>
    Try editing:
    /opt/eprints3/perl_lib/EPrints/Plugin/Screen/Admin/Config/Edit.pm
    (replace /opt/eprints3 with your EPrints install path)<br>
    <br>
    Look for:<br>
    <br>
    <tt>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; # install the new file<br>
      &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; unless( open( DATA, "&gt;$fn" ) )<br>
      &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; {<br>
      &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; $self-&gt;{processor}-&gt;add_message(<br>
      &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; "error",<br>
      &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; $self-&gt;{session}-&gt;html_phrase(
      "Plugin/Screen/Admin/Config/Edit:could_not_write",<br>
      &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
      error_msg=&gt;$self-&gt;{session}-&gt;make_text($!),<br>
      &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
      filename=&gt;$self-&gt;{session}-&gt;make_text(
      $self-&gt;{processor}-&gt;{configfilepath} ) ) );<br>
      &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; return;<br>
      &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; }<br>
      &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; print DATA $data;<br>
      &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; close DATA;</tt><br>
    <br>
    If it looks like the code above, then change to:<br>
    <br>
    <tt>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; # install the new file<br>
      &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; unless( open( DATA, "&gt;$fn" ) )<br>
      &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; {<br>
      &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; $self-&gt;{processor}-&gt;add_message(<br>
      &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; "error",<br>
      &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; $self-&gt;{session}-&gt;html_phrase(
      "Plugin/Screen/Admin/Config/Edit:could_not_write",<br>
      &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
      error_msg=&gt;$self-&gt;{session}-&gt;make_text($!),<br>
      &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
      filename=&gt;$self-&gt;{session}-&gt;make_text(
      $self-&gt;{processor}-&gt;{configfilepath} ) ) );<br>
      &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; return;<br>
      &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; }<br>
      <b>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; binmode( DATA, ":utf8" );</b><br>
      &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; print DATA $data;<br>
      &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; close DATA;</tt><br>
    <br>
    Restart Apache after making the change &amp; let us know if that
    fixed your problem?<br>
    <br>
    Seb.<br>
    <br>
    <br>
    <br>
    On 18/06/12 15:58, Mario Beaudoin wrote:
    <blockquote cite="mid:201206181458.q5IEwpZ0004016@cavro.uqtr.ca"
      type="cite">
      <font size="3"><br>
        with web interface "Edit Xpage code"<br>
        i think the UTF8 is not reconised by this web interface<br>
        but if i transfert the same file with ftp <br>
        and update static it work fine<br>
        Mario<br>
        At 10:38 2012-06-18, you wrote:<br>
      </font>
      <blockquote type="cite" class="cite" cite=""><font size="3">Hi
          Mario,<br>
          <br>
          Do you mean when editing phrases? Or in a "phrases"
          file?<br>
          <br>
          On my local 3.2.3 dev machine I have a phrases file (encoding
          = utf-8)
          with French accents (without having to "code" them) and this
          just works.<br>
          <br>
          Seb.<br>
          <br>
          On 18/06/12 14:49, Mario Beaudoin wrote: <br>
        </font>
        <blockquote type="cite" class="cite" cite=""><font size="3">I<br>
            <br>
            I have the same error<br>
            first line of the code is<br>
            &lt;?xml version="1.0" encoding="UTF-8"
            standalone="no" ?&gt;<br>
            work fine in 3.2.7<br>
            now i have to write this<br>
            &lt;?xml version="1.0" encoding="iso-8859-1"&nbsp;
            standalone="no"&nbsp; ?&gt;<br>
            i have to code all french accent<br>
            it is possible to fix that Please<br>
            <br>
            &nbsp;Best regards,<br>
            Mario</font></blockquote>
        <font size="3"><br>
          *** Options:
          <a moz-do-not-send="true"
            href="http://mailman.ecs.soton.ac.uk/mailman/listinfo/eprints-tech"
            eudora="autourl">
            http://mailman.ecs.soton.ac.uk/mailman/listinfo/eprints-tech</a><br>
          *** Archive:
          <a moz-do-not-send="true"
            href="http://www.eprints.org/tech.php/" eudora="autourl">
            http://www.eprints.org/tech.php/</a><br>
          *** EPrints community wiki:
          <a moz-do-not-send="true" href="http://wiki.eprints.org/"
            eudora="autourl">
            http://wiki.eprints.org/</a></font></blockquote>
      <pre wrap="">
<fieldset class="mimeAttachmentHeader"></fieldset>
*** Options: <a class="moz-txt-link-freetext" href="http://mailman.ecs.soton.ac.uk/mailman/listinfo/eprints-tech">http://mailman.ecs.soton.ac.uk/mailman/listinfo/eprints-tech</a>
*** Archive: <a class="moz-txt-link-freetext" href="http://www.eprints.org/tech.php/">http://www.eprints.org/tech.php/</a>
*** EPrints community wiki: <a class="moz-txt-link-freetext" href="http://wiki.eprints.org/">http://wiki.eprints.org/</a>
</pre>
    </blockquote>
    <br>
  </body>
</html>