标签: java html
我试过了:
import static org.apache.commons.lang3.StringEscapeUtils.escapeHtml4; String output = escapeHtml4("Price for extra guest/child above 12 years is ₹ 599");
它返回相同的字符串,不会将₹符号编码为&#8377