Issue with accented caracters in xml

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