[horde] characterset problems

Jan Schneider jan at horde.org
Fri Aug 6 02:53:01 PDT 2004


Zitat von pete <pkarttun at siba.fi>:

> Hello!
>
> I'm having some problems with specialcharacters. The Rich Text editor gives
> me "Unterminated string constant" - javascript errors, which i located to
> emoticons.php:
>
> ...
>         cell.appendChild(link);
>         img = document.createElement('IMG')
>         img.src = '/horde3/graphics/emoticons/cool.gif';
>         img.align = 'middle';
>         img.border = 0;
>         link.appendChild(img);
>                 link = document.createElement('A');
>         link.href = '#';
>         link.onclick = function() {
>             targetElement.value = targetElement.value + '8&#1959; + ' ';
> ...
> The last line in the example gives an error. Is this a php-problem? I already
> upgraded from 4.3.4 to 4.3.8. Which version should work then? With 
> 4.2 - series
> i had same kind of problems with htmlspecialchars.

It would help if you tell us where this error appears, i.e. how it is
reproducable.

> Another characterset-related problem is that in Gollem where the file names,
> which contain scandinavian letters, do not display correctly. The filename
> comes correctly in header through if i download it, though.

Because we don't know the charset used in the VFS FTP/file backend.

Jan.

--
Do you need professional PHP or Horde consulting?
http://horde.org/consulting.php



More information about the horde mailing list