Can not find elements by XPath using appium driver if the XPath contains unicode characters

I am using the following to identify an element in Native View. Observe that the selector has got an unicode character ‘ó’.

Driver.FindElement(By.XPath("//UIAStaticText[@name=‘Lista de observación’]))

I came across this question to solve my problem.

i use xpath selector like this:

//*[@name='Değiştir'] 

i find unicode characters

//*[@name='Deg ̆ is ̧tir'] 

So you can use combined characters near of the main character your char is : http://www.fileformat.info/info/unicode/char/0301/index.htm

hi…

Am also facing same issue… Got any solution?

iOS 10.2 Appium 1.6.4 beta

//XCUIElementTypeStaticText[@name=‘PRÉNOM’]/following-sibling::XCUIElementTypeTextField

xpath not found message is getting displayed on execution