artemp/mapnik — Issue #35: Filter with unicode strings
Author: artemp
Created: 2011-10-11 15:53:17+00:00
State: open
Labels: Boost_Python_Binding

if we try to make filter with a '''unicode''' string;

arule = Rule()[[BR]]

arule.filter = Filter("[road_type] = 'işlek'")[[BR]]

'''problem:''' no debug message but no filtering[[BR]]
--------------------------------------------------

arule = Rule()[[BR]]
arule.filter = Filter("[road_type] = 'i\351lek'")[[BR]]

'''problem:''' no debug message but no filtering[[BR]]
--------------------------------------------------

arule = Rule()[[BR]]
arule.filter = Filter("[road_type] = 'i\x15flek'")[[BR]]

'''problem''' : failed at := 'i\x15flek'[[BR]]