Page 1 of 1

BUG found related to language specific characters

Posted: 07 Aug 2008, 17:40
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,

Re: BUG found related to language specific characters

Posted: 07 Aug 2008, 22:20
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

Re: BUG found related to language specific characters

Posted: 07 Aug 2008, 22:31
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,

Re: BUG found related to language specific characters

Posted: 07 Aug 2008, 22:41
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