-1

When i decode my result y got this error ResponseSerializationFailureReason, this happens in calls with accents, if i have not accent decode good.

I want to decode the service result

burnsi
  • 6,194
  • 13
  • 17
  • 27
  • 1
    Please add what you have tried so far. Also an example of the problematic JSON and one of an unproblamatic would be useful. – burnsi Jan 18 '23 at 15:56
  • It'd be nice to share the JSON, or raw data (into hex string: https://stackoverflow.com/questions/39075043/how-to-convert-data-to-hex-string-in-swift) so we can reproduce your issue. – Larme Jan 18 '23 at 16:56

1 Answers1

0

Given your description, whatever is generating the JSON is not using UTF-8. It's probably using Latin-1, or possibly one of the Windows code pages (but I'm betting Latin-1).

Rob Napier
  • 286,113
  • 34
  • 456
  • 610