This week's book giveaway is in the OCPJP forum. We're giving away four copies of OCA/OCP Java SE 7 Programmer I & II Study Guide and have Kathy Sierra & Bert Bates on-line! See this thread for details.
Answered here. Also, please read our user name policy here and modify your display name accordingly. We need to see a space between Zhebin and Cong. Thanks. [ April 08, 2002: Message edited by: Jim Yingst ]
You need to adjust your base Locale. This is what controls the display. I tried to use Chinese for the example but, I don't have a character set to handle that so, I used French instead. Just before your loop call: Locale.setDefault(Locale.FRENCH); You can use any of the constants such as ENGLISH Since my base local is that, I shifted it to French to see the difference.