如何在Java中逃避印度货币符号“₹”(₹)?

时间:2016-03-19 08:13:36

标签: java html

我试过了:

import static org.apache.commons.lang3.StringEscapeUtils.escapeHtml4;

String output = escapeHtml4("Price for extra guest/child above 12 years is ₹ ​599");

它返回相同的字符串,不会将₹符号编码为&#8377

0 个答案:

没有答案