java - Ascii not converted in commons lang3 -


stringescapeutils.escapexml("cortés") working in commons-lang2.3 not working in 3.2.1. expected output "cortés" actual output "cortes".

escapexml() deprecated in 3.2.1. use escapexml10() or escapexml11() instead.

alternatively, documentation:

note unicode characters greater 0x7f of 3.0, no longer escaped. if still wish functionality, can achieve via following: stringescapeutils.escape_xml.with( numericentityescaper.between(0x7f, integer.max_value) );


Comments

Popular posts from this blog

php - failed to open stream: HTTP request failed! HTTP/1.0 400 Bad Request -

java - How to filter a backspace keyboard input -

java - Show Soft Keyboard when EditText Appears -