C
C
Chaly952018-02-01 16:36:23
opencart
Chaly95, 2018-02-01 16:36:23

Why does XML display Cyrillic with broken encoding, CMS Opencart, Google BASE?

Why does it display Cyrillic with broken encoding, CMS Opencart, Google BASE?
https://pipl.ua/index.php?route=extension/feed/goo...

Answer the question

In order to leave comments, you need to log in

1 answer(s)
C
Chaly95, 2018-02-03
@chaly95

Replace in /catalog/controller/extension/feed/google_base.php
$this->response->addHeader('Content-Type: application/rss+xml');
to
$this->response->addHeader('Content-Type: application/rss+xml; charset=utf-8');

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question