BUG found related to language specific characters

Phoca Gallery - image gallery extension
fidoboy
Phoca Member
Phoca Member
Posts: 19
Joined: 19 Jun 2008, 01:30

BUG found related to language specific characters

Post by fidoboy »

I'm using the latest Phoca Gallery version available (1.8.8) and i've spanish language installed (for phoca gallery) and i've found that when the page for thumbnails creation is displayed (the one with the progress bar and details about the thumbnails generation) the special characters are not displayed (vowels with accents and other special chars)

regards,
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48403
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: BUG found related to language specific characters

Post by Jan »

Hi, maybe there are problems with character encoding, maybe the spanish translation is not under UTF-8, maybe the template does not have the utf-8 ... :( I don't know, I didn't do the spanish translation, so try to check the encoding...

Jan
If you find Phoca extensions useful, please support the project
fidoboy
Phoca Member
Phoca Member
Posts: 19
Joined: 19 Jun 2008, 01:30

Re: BUG found related to language specific characters

Post by fidoboy »

I've made the spanish translation and it's UTF-8 encoded. Also, the problem happens in backend, so the template is not the problem... texts looks nice on other screens, but not with that screen (generating thumbnails...)

regards,
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48403
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: BUG found related to language specific characters

Post by Jan »

Which version of Phoca Galellery do you use... I know there was a problem but I fixed it... The problem was that while generating no UTF-8 was specifed...but if you look at this file, which displays the text while thumbnail creating:

administrator\components\com_phocagallery\helpers\phocagallery.php

you will see that while thumbnails creating the utf-8 site should be displayed:
echo '<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">' . "\n";
echo '<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en-en" lang="en-en" dir="ltr" >'. "\n";
echo '<head>'. "\n";
echo '<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />'. "\n\n";
echo '<title>'.JText::_( 'Creating of Thumbnail').'</title>'. "\n";
echo '</head>'. "\n";
echo '<body>'. "\n";
I have no problems with czech diacritics... so maybe there will be some other problem which I don't know ... :(

Jan
If you find Phoca extensions useful, please support the project
Post Reply