Excellent Juergen! Nice to be able to use the same escapes everywhere.
Thing that - stupid - I was doing wrong, is that I switched JDK's, from one with full i18n support to one without. Naturally, the latter didn't display the Chinese characters properly.
Thanks!
Eelco
Jonathan Locke wrote:
i don't understand.
eelco's code looked like this:
getSharedResources().add("save", Locale.SIMPLIFIED_CHINESE,
>>>>> new DefaultButtonImageResource("\u4E4B\u5916")); >>>>> getSharedResources().add("reset", Locale.SIMPLIFIED_CHINESE, >>>>> new >>>>>DefaultButtonImageResource("\u91CD\u65B0\u8BBE\u7F6E"));
which is going to have the correct unicode characters. were you talking about something else?
Juergen Donnerstag wrote:
------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ Wicket-develop mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/wicket-develop
