What character set is in use at news ?

Added by Juha-Pekka over 7 years ago

We are trying to interpret everything as a UTF-8, but it is failing with some news, and
skandinavian characters gets messed up.

Are there some rules the what character set news are following ?

Other guidelines / hints for this matter ?


Replies (5)

RE: What character set is in use at news ? - Added by Nordnet Simon over 7 years ago

It is supposed to be UTF-8.

Is this a problem in the news request or in the feed?

Do you have a news item id?

/Simon

RE: What character set is in use at news ? - Added by Juha-Pekka over 7 years ago

{"news_item" : {"itemid":246730001,"datetime":"2011-09-14 21:08:23","lang":"SV","sourceid":1,"type":"Article","headline":"ITALIEN: BERLUSCONIS SPARPAKET VINNER SLUTLIGT GODKÄNNANDE","instruments":[]}}

{"news_item" : {"itemid":224682002,"datetime":"2011-09-14 16:58:08","lang":"sv","sourceid":2,"type":"NEWS","headline":"New York:
Svängig start på dagens handel, DJIA -0,6 %","instruments":[]}}

{"news_item" : {"itemid":246709001,"datetime":"2011-09-14 17:00:01","lang":"SV","sourceid":1,"type":"Article","headline":"IMF:
PENNINGPOLITIK BĂ-R SIKTA PĂ... MĂ...L SOM KAN TRĂ"FFAS - WEO","instruments":[]}}

RE: What character set is in use at news ? - Added by Nordnet Simon over 7 years ago

Thanks - it should be UTF-8. I will have a look.

/Simon

RE: What character set is in use at news ? - Added by Nordnet Simon over 7 years ago

As I said earlier it should be UTF-8.

We have a bug here and will fix it. In the meanwhile treat it as UTF-8.

/S

(1-5/5)