[ic] Filters with UTF-8 body

Stefan Hornburg racke at linuxia.de
Thu Mar 12 10:04:03 UTC 2009


I noticed the following error with UTF8 content from the database:

[item-filter 100.][item-field long_description][/item-filter]

The [item-filter] doesn't get interpolated as long as long_description
contains UTF-8 characters.

Peter Ajamian suggested that the following code in Interpolate.pm
causes the problem:

 '_filter'               => qr($T{_filter}\s+($Some)\]($Some)),
 my $Some = '[\000-\377]*?';


LinuXia Systems => http://www.linuxia.de/
Expert Interchange Consulting and System Administration
ICDEVGROUP => http://www.icdevgroup.org/
Interchange Development Team

More information about the interchange-users mailing list