silkimen / cordova-plugin-advanced-http

Cordova / Phonegap plugin for communicating with HTTP servers. Allows for SSL pinning!
MIT License
400 stars 321 forks source link

[Bug] [Android] Response Header Encode #527

Open diogodumas78 opened 4 months ago

diogodumas78 commented 4 months ago

Describe the bug hey guys, I am facing some problems with the plugin. I migrated from angular/common/http. Everything works perfectly. However, when I receive a business message in the response header, I was unable to receive it with the correct encode. The message comes with a code instead of words with an accent or ç. Has anyone experienced this and managed to resolve it? Ex : Documento n�o aut�ntico. thanks in advance

System info

Are you using ionic-native-wrapper?

Minimum viable code to reproduce If applicable, add formatted sample coding to help explain your problem.

e.g.:

cordova.plugin.http.setDataSerializer('urlencoded');

Screenshots If applicable, add screenshots to help explain your problem.