Event_freetag and 8bit (Russian) tags

Found a bug? Tell us!!
Post Reply
LazyBadger
Regular
Posts: 176
Joined: Mon Aug 25, 2008 12:25 pm
Location: Russia
Contact:

Event_freetag and 8bit (Russian) tags

Post 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
Quis custodiet ipsos custodes?
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: Event_freetag and 8bit (Russian) tags

Post 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
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
LazyBadger
Regular
Posts: 176
Joined: Mon Aug 25, 2008 12:25 pm
Location: Russia
Contact:

Re: Event_freetag and 8bit (Russian) tags

Post by LazyBadger »

I can rollback to 3.23, if I'll be able to get older version (no CVS client at all)
Quis custodiet ipsos custodes?
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: Event_freetag and 8bit (Russian) tags

Post 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
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
LazyBadger
Regular
Posts: 176
Joined: Mon Aug 25, 2008 12:25 pm
Location: Russia
Contact:

Re: Event_freetag and 8bit (Russian) tags

Post by LazyBadger »

Updated plugin by hand (Spartacus still mention .26) and yes - tags correctly function now
Quis custodiet ipsos custodes?
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: Event_freetag and 8bit (Russian) tags

Post 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
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
LazyBadger
Regular
Posts: 176
Joined: Mon Aug 25, 2008 12:25 pm
Location: Russia
Contact:

Re: Event_freetag and 8bit (Russian) tags

Post by LazyBadger »

garvinhicking wrote:
Hm, but the change is not contained in .26
Manual update was done to .27
Quis custodiet ipsos custodes?
Post Reply