Exception in thread "main" java.util.UnknownFormatConversionException: Conversion = '的' at java.util.Formatter.checkText(Formatter.java:2579) at java.util.Formatter.parse(Formatter.java:2555) at java.util.Formatter.format(Formatter.java:2501) at java.io.PrintStream.format(PrintStream.java:970) at java.io.PrintStream.printf(PrintStream.java:871) at demo.Demo.main(Demo.java:9)
/** * Finds format specifiers in the format string. */ private FormatString[] parse(String s) { ArrayList<FormatString> al = newArrayList<>(); Matcherm= fsPattern.matcher(s);