Il 26/02/2011 05:16, Kristis Makris ha scritto: >> To sum this up: the suggestion given by Markus Kling seems to work >> perfectly in our environment. The only problem we still have with commit >> comments issued by Linux clients is not due to Scmbug. >> >> __UPDATE:__ I just discovered how to configure Eclipse to use the >> ISO-8859-1 encoding when interacting with the CVS server: now our Linux >> developers can commit changes with comments with non-corrupted non-ASCII >> characters, too! :-) This confirms once more that Scmbug is working >> perfectly in our environment now. > > Are the machine Scmbug runs on and the machine Bugzilla runs on different > machines?
No, Scmbug daemon runs on the same machine that is hosting Bugzilla. >> The only thing is not clear to me is the following: what if we were >> using another charset as the one used for our sources? That is, what >> would happen if we stored the sources in the CVS server in UTF-8 too? > > I think the solution is for Scmbug to dynamically detect the charset > during the post-commit activity, and then have the glue supply that > charset information over to the daemon. Yes, I think so. However I think that also the encoding used by Bugzilla should be detected by the daemon, in order to encode the information properly before calling the Bugzilla API to add a comment. In other words, I think Scmbug should decide to use a reference charset (UTF-8 for instance) in all of its internal processing (glue and daemon) and: - convert (if needed, so detection is necessary) every input (coming from the SCM) to the reference charset on the glue side, before doing any processing - convert (if needed, so detection is necessary) every output (going to the issue tracker or to the notification e-mail) from the reference charset on the daemon side, after all the processing has been done -- Mauro Molinari Software Designer & Developer E-mail: [email protected] _______________________________________________ scmbug-users mailing list [email protected] http://lists.mkgnu.net/cgi-bin/mailman/listinfo/scmbug-users
