Question

I'm trying to read the article text in the browser using Wikipedia API (to do more with php).

Link to the Wikipedia article in xml //looks OK, you can read it if you know Belarusian language (utf-8?).

Link to the Wikipedia article in json //not good. The same article in json format but you can't read it if you don't know unicode. The pages in not displayed in utf-8 anymore. Several days ago I was able to read the text. The letter ж displayed as ж (like any other cyrillic), now only u0436 is displayed.

What's the reason it has changed? Is that my browser settings or Wikipedia changed the json answer?

How to fix it so it is shown in utf-8?

Was it helpful?

Solution

You can downvote even more or even close this question.

However, in case my answer would help anyone, here is the solution. The problem was not changed Wikipedia API, but my Google Chrome settings.

"-allow-file-access-from-files" and "-disable-web-security" settings for the Google Chrome helped me. I used that settings the last time and I forgot to apply them today.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top