My scenario :
I am using a caml query to read all folder and files in a list but i noticed that if i get a folder by serverrelativeURl and the list name is(eg késhév,ie has special character or a space),the caml query return null.
For other list with standard name the codes work.
I am trying to use CDATA,but its not working.i think its a syntax error.
var query = new CamlQuery();
query.FolderServerRelativeUrl = folderServerRelativeUrl;
query.ViewXml = "<View Scope=\"RecursiveAll\"> " +
"<Query>" +
"<Where>" +
"<Eq>" +
"<FieldRef Name=\"FileDirRef\" />" +
"<Value Type=\"Text\">" + "<![CDATA["+folderServerRelativeUrl+"]]>" + "</Value>" +
"</Eq>" +
"</Where>" +
"</Query>" +
"</View>";
ListItemCollection folderItems = list.GetItems(query);
clientContext.Load(folderItems);
clientContext.ExecuteQuery();