Page 1 of 1

EXIF-information on non-english UTF-8-sites

Posted: 11 Aug 2011, 05:58
by ecolora
Correct code of Your component, please:

in file components\com_phocagallery\views\info\tmpl\default.php

after

Code: Select all

defined('_JEXEC') or die('Restricted access');
add

Code: Select all

header("Content-type: text/html; charset=utf-8");
I owner of Russian site and without this changing all exif information shown like '??????'

I wrote here about enabling exif and removing this bug with encoding.

Re: EXIF-information on non-english UTF-8-sites

Posted: 13 Aug 2011, 00:57
by Jan
Hi, thank you for the info, but the utf-8 should be set by Joomla! resp. template with:

Code: Select all

<meta http-equiv="content-type" content="text/html; charset=utf-8" />
Doesn't this work?

Re: EXIF-information on non-english UTF-8-sites

Posted: 30 Aug 2011, 03:53
by ecolora
No, it is not work for me. I wrote in first message what i am doing to correct the problem. Can You do it? Thank You!

Re: EXIF-information on non-english UTF-8-sites

Posted: 31 Aug 2011, 21:20
by Jan
Hi, yes I see your post above, I only tries to discover if this is really necessary to set header in some of the php file which is a part of Joomla! output where Joomla! itself defines the header - as utf-8