> $request->{ original_log_message } = $original_log_message;
> $request->{ original_log_message } = decode("cp850", $request->{ 
> original_log_message });

Do you:

use Encode;

?

Also, do you know how we could dynamically detect that 'cp850' is what
we should decode ? Is this something we could pick-up from the
environment variables ?

> It seems that Perl handles the string internally in utf-8 and that is
> directly written to the database via the Bugzilla-API. If one uses
> $request->{ original_log_message } = encode("utf-8", $request->{ 
> original_log_message });
> end writes the log message to a file it has exactly the same content
> as Bugzillas database.

You talked about the Daemon reading from STDIN. I know we also read the
log message as the output of svnlook. Should something like this also be
present in the glue ? It seems as if this should be executed on the glue
side, since the machine executing the hooks could be different (and
using a different codepage) than the one running the daemon.

> For future use SCMBug should generally consider the current systems
> Codepage it reads the data via STDIN, I think. Maybe this solves
> Javier's problem, too?

Javier, could you try ?


_______________________________________________
scmbug-users mailing list
[email protected]
http://lists.mkgnu.net/cgi-bin/mailman/listinfo/scmbug-users

Reply via email to