https://bugzilla.novell.com/show_bug.cgi?id=848812 https://bugzilla.novell.com/show_bug.cgi?id=848812#c5 Josef Reidinger <jreidinger@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |NEW CC| |jreidinger@suse.com InfoProvider|jreidinger@suse.com | --- Comment #5 from Josef Reidinger <jreidinger@suse.com> 2013-11-04 13:22:18 UTC --- (In reply to comment #4)
It's a encoding problem like in bug #841713.
Josef, does your ruby code to modify the storage class also work for functions where the parameter is modified and is a list of structs (in C++), getCommitInfos() in StorageInterface.h?
no, my wrapper only modify return code to be always in UTF-8. In general if you modify also parameters, then you need to check it after method and convert after call. I am not sure how exactly swig generate such structure, but if it is common ruby class, then it need special handling of its values in switch statement, something like ( just pseudocode ) case CommitInfo value.description = convert_to_UTF8(value.description) ... end Josef -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.