<html>
<body>
<font size=3>I use notepad++ to modify the file<br>
if the file is saved unix utf-8 it did not work<br>
i have to save in unix ansi as utf-8<br>
after&nbsp; that i can modify the file in web interface<br>
i have this line in the code <br>
</font><tt>binmode( DATA, &quot;:utf8&quot; );<br>
</b></tt><font size=3><b>everything work find now <br>
</b>Mario<br><br>
At 11:09 2012-06-18, you wrote:<br>
<blockquote type=cite class=cite cite="">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>
</font><tt>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; # install the new
file<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; unless( open( DATA,
&quot;&gt;$fn&quot; ) )<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;
&quot;error&quot;,<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(
&quot;Plugin/Screen/Admin/Config/Edit:could_not_write&quot;,<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><font size=3><br><br>
If it looks like the code above, then change to:<br><br>
</font><tt>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; # install the new
file<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; unless( open( DATA,
&quot;&gt;$fn&quot; ) )<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;
&quot;error&quot;,<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(
&quot;Plugin/Screen/Admin/Config/Edit:could_not_write&quot;,<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; binmode( DATA,
&quot;:utf8&quot; );</b><br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; print DATA $data;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; close
DATA;</tt><font size=3><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: <br>
<blockquote type=cite class=cite cite=""><br>
with web interface &quot;Edit Xpage code&quot;<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>
<blockquote type=cite class=cite cite="">Hi Mario,<br><br>
Do you mean when editing phrases? Or in a &quot;phrases&quot;
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 &quot;code&quot; them) and this
just works.<br><br>
Seb.<br><br>
On 18/06/12 14:49, Mario Beaudoin wrote: <br>
<blockquote type=cite class=cite cite="">I<br><br>
I have the same error<br>
first line of the code is<br>
&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;
standalone=&quot;no&quot; ?&gt;<br>
work fine in 3.2.7<br>
now i have to write this<br>
&lt;?xml version=&quot;1.0&quot; encoding=&quot;iso-8859-1&quot;&nbsp;
standalone=&quot;no&quot;&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</blockquote><br>
*** Options:
<a 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 href="http://www.eprints.org/tech.php/" eudora="autourl">
http://www.eprints.org/tech.php/</a><br>
*** EPrints community wiki:
<a href="http://wiki.eprints.org/" eudora="autourl">
http://wiki.eprints.org/</a></blockquote><br>
</font><pre>

*** Options:
<a href="http://mailman.ecs.soton.ac.uk/mailman/listinfo/eprints-tech">
http://mailman.ecs.soton.ac.uk/mailman/listinfo/eprints-tech</a>
*** Archive:
<a href="http://www.eprints.org/tech.php/">
http://www.eprints.org/tech.php/</a>
*** EPrints community wiki:
<a href="http://wiki.eprints.org/">http://wiki.eprints.org/</a>
</pre><font face="Courier New, Courier" size=3></font></blockquote><br>
*** Options:
<a 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 href="http://www.eprints.org/tech.php/" eudora="autourl">
http://www.eprints.org/tech.php/</a><br>
*** EPrints community wiki:
<a href="http://wiki.eprints.org/" eudora="autourl">
http://wiki.eprints.org/</a></blockquote></body>
</html>