Subject: The mailing list for listmasters using Sympa
List archive
AW: [sympa-users] problems with soap interface (probably all utf8 related)
- From: "Goltz, Immo [Extern]" <address@concealed>
- To: "'David Verdin'" <address@concealed>, "address@concealed" <address@concealed>
- Subject: AW: [sympa-users] problems with soap interface (probably all utf8 related)
- Date: Tue, 3 Dec 2013 09:11:21 +0000
Hello David,
after some deep digging i fixed the problems i encountered. Now all 3 interfaces - WebGUI, soap, mail - are working together and generating same output.
Please find attached the changes i made as patches against 6.1.17. - The changes in sympasoap.pm provide correct input/output of data submitted via soap. - The one-line change in mail.pm fixed the problem that welcome mail to via soap subscribed user was not encoded correctly and if listinfo contained some cyrillic text the mailbody was concatenated thrice. This part was most disturbing as debugging showed no differences in data provided to the subroutines. Maybe the lib MIME::Parser (used here: $msg = $parser->parse_data($message);) uses some %ENV vars which are different in GUI and soap. But i could not figure out which an if this true.
I still wonder why i have these problems (running on CentOS 6.4) and if this could be some issue with my installation.
For the sake of completeness, my first approach to see if all files are UTF8 encoded and if not recode them did not change the behavoir. changed encoding of following files to utf8 with iconv -f WINDOWS-1252 -t UTF-8 arc2webarc.pl archived.pl bounced.pl Commands.pm LDAPSource.pm List.pm Message.pm sympa.pl sympa_wizard.pl Upgrade.pm wwsympa.fcgi
Best regards, Immo
Von:
address@concealed [mailto:address@concealed]
Im Auftrag von David Verdin
Hi, Le 19/11/13 14:23, Goltz, Immo [Extern] a écrit :
|
Attachment:
mail.pm.patch
Description: mail.pm.patch
Attachment:
sympasoap.pm.patch
Description: sympasoap.pm.patch
- AW: [sympa-users] problems with soap interface (probably all utf8 related), Goltz, Immo [Extern], 12/03/2013
Archive powered by MHonArc 2.6.19+.