Search found 8 matches

by sniff
Sat Sep 09, 2006 10:39 am
Forum: Bugs
Topic: wrong encoding ?
Replies: 8
Views: 4455

Re: wrong encoding ?


I agree, this should be fixed in the internal smarty function. Would you like to report it to smarty.php.net?


Hmmmm, interesting site :) Have no experience with smarty, but I see that there is a second parameter for encoding possible. This encoding is ISO-8859-1 by default. So I did this chage ...
by sniff
Fri Sep 08, 2006 9:52 pm
Forum: Bugs
Topic: wrong encoding ?
Replies: 8
Views: 4455

Re: wrong encoding ?

Hi!

That's a problem sadly because of bad escaping.
You will need to edit your template and search for


onclick="alert('{$CONST.TRACKBACK_SPECIFIC_ON_CLICK|@escape:htmlall}');


and replace it with


onclick="alert('{$CONST.TRACKBACK_SPECIFIC_ON_CLICK|@escape:html}');


I think that the bad ...
by sniff
Fri Sep 08, 2006 9:38 pm
Forum: Bugs
Topic: bug + patch in serendipity_event_google_sitemap for static p
Replies: 1
Views: 1639

bug + patch in serendipity_event_google_sitemap for static p

There is replacement on line 297 of this plugin:

$url = $serendipity['baseURL'] . preg_replace("#$path_quoted#", '', $cur['permalink']);


But, when the $path_quoted (serendipityHTTPPath) is only '/' and permalink in static pages also contains '/' (e.g. '/static/about-me.html') the output in ...
by sniff
Sat Sep 02, 2006 8:06 pm
Forum: Bugs
Topic: multibyte bug in @escape:htmlall ?
Replies: 2
Views: 2029

Re: multibyte bug in @escape:htmlall ?

Hi Garvin!

the browsers seem to not copy with HTML entities in the alert() one.

I don't think it is a problem of browsers, because word "Kopírovat" in the source code of that page is:

Kopírovat instead of Kopírovat

Which seems to be a problem with wrong multibyte (UTF-8) translating into ...
by sniff
Fri Sep 01, 2006 10:52 pm
Forum: Bugs
Topic: multibyte bug in @escape:htmlall ?
Replies: 2
Views: 2029

multibyte bug in @escape:htmlall ?

Hi
I've found that there is probably bug in the @escape:htmlall when using multibyte encoding (UTF-8). The text in alert() window is broken. You can see at http://syslog.eu/archives/32-Solaris-Volume-manager-mirror-disku.html by clicking on link "Odezva ze specifického URI na tento záznam"

The ...
by sniff
Sat Aug 26, 2006 7:13 pm
Forum: Bugs
Topic: Google Sitemap plugin bug
Replies: 1
Views: 1804

Google Sitemap plugin bug

This plugin doesn't count with mysqli . There must be added one line into the event_hook function (around line 87):

case 'sqlite':
case 'mysql':
+ case 'mysqli':
$sqlnullfunction = 'IFNULL';


Without this line, sitemap.xml.gz doesn't contain links to P*.html as well as to all entries.

Cheers ...
by sniff
Tue Jun 20, 2006 6:04 pm
Forum: Bugs
Topic: Problem with "umlauts" characters in entry title-&
Replies: 3
Views: 2342

Re: Problem with "umlauts" characters in entry tit

Hi Garvin!


With that you can define each character and to what it should be translated. Does that help you already further?


Yes, I think so. Thanks a lot. I will change this file for me and will send back also to Serendipity team.

Another question is, if it is possible (on principe) to ...
by sniff
Tue Jun 20, 2006 10:04 am
Forum: Bugs
Topic: Problem with "umlauts" characters in entry title-&
Replies: 3
Views: 2342

Problem with "umlauts" characters in entry title-&

Hi, I've found Serendipity really great blog SW, but...

I am from Czech republic and as you know we have many of "umlauts"
characters in our language. So when I use them in my entry title, these
characters are omitted in URLs.

For example: Entry title "Čeština" (characters C with wedge and s ...