-
-
Notifications
You must be signed in to change notification settings - Fork 75
Description
Hi everybody,
I'm currently using latest version (1.40.4) and I have a weird bug, I really hope you can help me figuring out what it is.
So I'm using the engine to get some data from my website and for some reason accents and special chars are displayed and work perfectly, example :
French sentence I receive : "S'est adapt\U00e9 rapidement \U00e0 son poste"
Whereas a tab character is not displayed
I get "RESOCPRO_69_94_A-VII"
which should be "RESOCPRO_69_94_A-VII\u0009"
I tried to print data as utf8 encoded this way
func soapEngine(_ soapEngine: SOAPEngine!, didBeforeParsingResponseData data: Data!) -> Data! {
print(String(data: data, encoding: .utf8))
return data
}
And I got "RESOCPRO_69_94_A-VII\t" we can see that the tabulation is present.
The thing is that I can't return the right data...
I really don't understand why accents are working and not tabs thought, I tried to get the same data using php soap client and it worked.