I am using NumberFormat.getCurrencyInstance(Locale.CHINA)
to get a Chinese currency symbol, but it always displays a "?" instead of the symbol of the Chinese yuan.
For example, here is my code:
NumberFormat currency = NumberFormat.getCurrencyInstance(Locale.CHINA);
String result = currency.format(1234567.891);
System.out.println(result);
Then I run the code, and it displays: ?1,234,567.891
I found others asked similar questions before but most of the advice is to use other codes instead. I just want to know why this happened to me because my friends use the same code and their computers display the correct form. Could it be a plug-in problem? What do I need to do? I am a beginner in java, thank you all for your help.