question

Upvotes
Accepted
1 0 1 2

MRN_STORY JSON FRACTION encoding issue with story body and headline

Hi, I am using emaconsumer demo app to subscribe to MRN_STORY on TREP-RT feed to receive news and I am seeing that sometimes the headline or body text appears to have special characters instead of printable characters. The apostrophe is converted to a different character set. This is how it looks when displayed in the output: \"We’ve added\" instead of "We've added". And this is what I see when looking in the html source "We’ve added

Do you know if I need to change the encoding before storing the news headline and story body?

Can you point me to the documentation for using any specific encoding?

elektronrefinitiv-realtimeelektron-sdkrrtema-apielektron-message-apinewsmrnencoding
icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

1 Answer

Upvotes
Accepted
4.4k 10 6 9

Hi @quotes-support

It uses UTF-8. See MRN Data Models and Elektron Implementation Guide

Windows' console won't display Unicode by default. You have to change the coding page and font if you want to display it on the console.

icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.