Skip to Main Content

Database Software

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Unable to handle Brazilian characters in a webservice call through plsql

Vikas Yadav 25-OracleOct 16 2019 — edited Oct 28 2019

Hi,

I am facing issue in passing a JSON which has Brazilian characters in it, even though, I am passing UTF-8 character set to read it.

This JSON is passed through PLSQL procedure.

utl_http.set_body_charset(v_http_request,'UTF-8');

JSON under consideration is :

"remit-to-addresses": [

  {

   "id": 23438,

   "created-at": "2018-09-15T06:58:02-04:00",

   "updated-at": "2019-10-15T03:17:00-04:00",

   "remit-to-code": "WIRE XXXX",

   "name": "65279",

   "street1": "Alameda Rio Negro, 585",

   "street2": " Edifício Demini, 1º, 2º, 11º e 12º andar",

   "city": "Alphaville",

   "state": "Barueri/SP",

   "postal-code": "06454-000",

   "active": true,

   "vat-number": null,

   "local-tax-number": null,

   "external-src-ref": null,

   "external-src-name": null,

   "gst-id": "",

   "jpmc-check-priority": "",

   "country": {

   "id": 31,

   "code": "BR",

   "name": "Brazil"

  }

  },

If i remove the degree from degree from the field Street2, JSON is consumed perfectly.

Any suggestions on what character set should be used to pass this JSON?

Thanks,

Vikas Yadav

This post has been answered by Sergiusz Wolicki-Oracle on Oct 22 2019
Jump to Answer

Comments

SriniVEERAVALLI

Try to share error message or else the step with screen

Thanks,

http://cool-bi.com

Sh!va

Quick thing to check..pls avoid spaces in home directory..and UAC should be disable..

Cheers!

Sh!va

1 - 2

Post Details

Added on Oct 16 2019
20 comments
1,925 views