Skip to main content
Solved

encoding issue when published on server

  • September 10, 2018
  • 6 replies
  • 7 views

boubcher
Contributor
Forum|alt.badge.img+11

we have WS running with no encoding issue on the desktop, when published on the server and used as API we are getting a result with encoding issue

we did add an ecoder into the WS , but it didnt solve the problem

Any idea, please

Best answer by boubcher

 

Hello Guys

 

Thanks for your replay we fixe problem by setting the encoding parameter into the writer

 

View original
Did this help you find an answer to your question?

6 replies

david_r
Celebrity
  • September 10, 2018

What's the data source here? The more details, the better.


danilo_fme
Evangelist
Forum|alt.badge.img+45
  • Evangelist
  • September 10, 2018

Hi @boubcher

I agree with @david_r

More information is necessary in this case.

Thanks,

Danilo


boubcher
Contributor
Forum|alt.badge.img+11
  • Author
  • Contributor
  • Best Answer
  • September 12, 2018

 

Hello Guys

 

Thanks for your replay we fixe problem by setting the encoding parameter into the writer

 


boubcher
Contributor
Forum|alt.badge.img+11
  • Author
  • Contributor
  • September 12, 2018

 

Hello Guys

 

Thanks for your replay we fixe problem by setting the encoding parameter into the writer

 


david_r
Celebrity
  • September 12, 2018

Great to hear that you found the solution, it's always a good idea to explicitely specify the encoding and utf-8 is the one to use for JSON.

Just a heads-up: you should not include the byte-order marker (BOM) when writing JSON, some applications may not like it as it's forbidden by the json standard:

Implementations MUST NOT add a byte order mark to the beginning of a JSON text.


danilo_fme
Evangelist
Forum|alt.badge.img+45
  • Evangelist
  • September 12, 2018
boubcher wrote:

 

Hello Guys

 

Thanks for your replay we fixe problem by setting the encoding parameter into the writer

 

 

Hi @boubcher

 

great news!

 


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings