<!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> # install the new file<br>
unless( open( DATA, ">$fn" ) )<br>
{<br>
$self->{processor}->add_message(<br>
"error",<br>
$self->{session}->html_phrase(
"Plugin/Screen/Admin/Config/Edit:could_not_write",<br>
error_msg=>$self->{session}->make_text($!),<br>
filename=>$self->{session}->make_text(
$self->{processor}->{configfilepath} ) ) );<br>
return;<br>
}<br>
print DATA $data;<br>
close DATA;</tt><br>
<br>
If it looks like the code above, then change to:<br>
<br>
<tt> # install the new file<br>
unless( open( DATA, ">$fn" ) )<br>
{<br>
$self->{processor}->add_message(<br>
"error",<br>
$self->{session}->html_phrase(
"Plugin/Screen/Admin/Config/Edit:could_not_write",<br>
error_msg=>$self->{session}->make_text($!),<br>
filename=>$self->{session}->make_text(
$self->{processor}->{configfilepath} ) ) );<br>
return;<br>
}<br>
<b> binmode( DATA, ":utf8" );</b><br>
print DATA $data;<br>
close DATA;</tt><br>
<br>
Restart Apache after making the change & 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>
<?xml version="1.0" encoding="UTF-8"
standalone="no" ?><br>
work fine in 3.2.7<br>
now i have to write this<br>
<?xml version="1.0" encoding="iso-8859-1"
standalone="no" ?><br>
i have to code all french accent<br>
it is possible to fix that Please<br>
<br>
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>