The CreatorCon Call for Content is officially open! Get started here.

Rest api Unicode Character problem

t_nehir
Kilo Contributor

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;

find_real_file.png

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.

find_real_file.png

find_real_file.png

10 REPLIES 10

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


This value is printing from third party system, I am sending this value to third party.



find_real_file.png


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


My actual value is : "voyage uygulamasında sipariÅŸ no : 260649 nolu sipariÅŸ teslimat aÅŸamasına gelirken 942699 kodlu ürün eksik geçmektedir."



I tried decode but it did not work.



find_real_file.png


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.



HTML Charset



Thanks


Please Hit like, Helpful or Correct depending on the impact of the response