Hi All,
We are using the below query builder API to read CQ page content information. But in our nodes we have Russian text as node property values. When we read using the below code, we are getting ??????? instead of actual value.
How to set character encoding in query builder API ?
Map<String,String> map=new HashMap<String,String>();
map.put("property", "jcr:primaryType");
map.put("property.or", "true");
map.put("property.1_value", "cq:PageContent");
map.put("property.2_value", "dam:AssetContent");
map.put("p.limit","-1");
adminSession = slingRepository.loginAdministrative(null);
query = builder.createQuery(PredicateGroup.create(map), adminSession);
result = query.getResult();
Regards
Nivas