View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0026333 | mantisbt | api soap | public | 2019-11-07 10:51 | 2019-11-11 04:55 |
Reporter | Camille Desmots | Assigned To | |||
Priority | normal | Severity | minor | Reproducibility | have not tried |
Status | new | Resolution | open | ||
Product Version | 2.21.1 | ||||
Summary | 0026333: XML declaration in mantisconnect.wsdl should be UTF-8 or UTF-16 | ||||
Description | On the first line of the file "https://github.com/mantisbt/mantisbt/blob/master/api/soap/mantisconnect.wsdl" we've got : It should be rather UTF-8 (default encoding) or UTF-16. | ||||
Tags | No tags attached. | ||||
As far as I can tell, the ISO-8559-1 encoding was inherited from legacy use of NuSOAP library, when support for built-in SOAP extension was added back in 2012 (see 0014871). I have no idea why NuSOAP didn't use UTF-8, and I agree it would make sense to change the encoding in the WSDL file per your suggestion but I'm not sure if there would be any impact. Maybe @rombert will care to comment. |
|
Note: I am completely disconnected from SOAP/WSDL these days. I don't see a problem with moving to UTF-8 encoding though, as all characters supported by ISO-8859-1 should be supported by UTF-8 as well. Theoretically the same stands for UTF-16, but I'm not versed enough in the topic to understand whether we stand to lose or gain something by using UTF-16. |
|