Page 1 of 1

Event_freetag and 8bit (Russian) tags

Posted: Mon Jul 04, 2011 10:26 am
by LazyBadger
Can't tell, when it was broken, but in current 3.25 filter by any 8bit tags will find 0 records. Entries counted in block correctly, shown - only English tags-clicks

Re: Event_freetag and 8bit (Russian) tags

Posted: Tue Jul 05, 2011 10:59 am
by garvinhicking
LazyBadger wrote:Can't tell, when it was broken, but in current 3.25 filter by any 8bit tags will find 0 records. Entries counted in block correctly, shown - only English tags-clicks
Hi!

Yeah, we added _utf8 typecasting there, but that sadly lead to problems when the character set of the table is something other than latin1. In all, UTF-8 strings currently do not work well in the plugin, but due to mysql errors in the common setup of the plugin when using UTF-8 we had to change the current logic.

I believe the plugin needs change to be able to query the current collation type of the mysql table column, and depending on that either add or not add the _utf8 typecasting. Sadly this is a bit complicated, I could need help on this :-)

Regards,
Garvin

Re: Event_freetag and 8bit (Russian) tags

Posted: Tue Jul 05, 2011 11:21 am
by LazyBadger
I can rollback to 3.23, if I'll be able to get older version (no CVS client at all)

Re: Event_freetag and 8bit (Russian) tags

Posted: Tue Jul 05, 2011 11:37 am
by garvinhicking
Hi!

I've just committed version 3.27 of the plugin that adds a collation check...can you test if that works?

Regards,
Garvin

Re: Event_freetag and 8bit (Russian) tags

Posted: Tue Jul 05, 2011 12:10 pm
by LazyBadger
Updated plugin by hand (Spartacus still mention .26) and yes - tags correctly function now

Re: Event_freetag and 8bit (Russian) tags

Posted: Tue Jul 05, 2011 1:38 pm
by garvinhicking
LazyBadger wrote:Updated plugin by hand (Spartacus still mention .26) and yes - tags correctly function now
Hm, but the change is not contained in .26, so a different change made earlier might have fixed it in your case already.

Regards,
GArvin

Re: Event_freetag and 8bit (Russian) tags

Posted: Tue Jul 05, 2011 7:16 pm
by LazyBadger
garvinhicking wrote:
Hm, but the change is not contained in .26
Manual update was done to .27