Hallo Kristis Makris, Tuesday, December 12, 2006, 5:17:31 AM, haben Sie folgendes geschrieben:
> http://bugzilla.mkgnu.net/show_bug.cgi?id=580#c10 > Could I get one of you to try committing something in a CVS (preferably > 1.12.x series) repository while entering content in your native language > and then seeing if the content shows up in Bugzilla as expected ? If it > does, then I would call the UTF-8 encoding problem a "Subversion issue". My comits in Subversion seem to work right now, it seem to be a little encoding issue as I thought. SCMBug reads the log messages etc. from STDIN which has a special encoding, CP850 in my case with Windows, and that information has to be provided to Perl so that Perl can decode the characters into a proper Perl-String. I just had add a line to decode the characters Perl just read from the STDIN with the following lines in Deamon.pl: $request->{ original_log_message } = $original_log_message; $request->{ original_log_message } = decode("cp850", $request->{ original_log_message }); 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. 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? Mit freundlichen Grüßen, Thorsten Schöning -- Thorsten Schöning AM-SoFT IT-Systeme - Hameln | Potsdam | Leipzig eMail [EMAIL PROTECTED] Telefon Potsdam...0331-743881-0 Telefon Mobil.....0178-8 9468-04 _______________________________________________ scmbug-users mailing list [email protected] http://lists.mkgnu.net/cgi-bin/mailman/listinfo/scmbug-users
