Issue with accented caracters in xml

I notice issue when parsing body content and compare signature. 
toString with ascii encoding failed if xml contains fields value like my firstName Loïc.