Rest api Unicode Character problem
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-29-2017 03:40 AM
Hi All,
We have implemented an integration between Snow and third party supplier but when I send out short description information to third party, occurred Unicode character problem;
My business rule that trigger to third party system is here; also putting Http headers information . I tried everything I had but I couldn't replace this HTML characters. I need to replace "ı" to "ı" . How can I fix the problem guys? Thanks.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-29-2017 05:30 AM
From where are you printing this value?
When you receive the value at your third party system, the value should be decoded and see what it looks like.
decodeURI(short);
Thanks
Please Hit like, Helpful or Correct depending on the impact of the response
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-29-2017 05:36 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-29-2017 05:52 AM
What is the actual text you enter in the short description?
Can you decode the value before you print at the third party tool using decodeURI(short_description)?
Thanks
Please Hit like, Helpful or Correct depending on the impact of the response
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-29-2017 05:58 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-29-2017 06:28 AM
Can you try removing the char set as UTF-8 from your Content type and test with the initial code?
I think this is a different character set based on the language.
Thanks
Please Hit like, Helpful or Correct depending on the impact of the response