| xwt Internationalization: how i can use UTF-8 encoding in XWT [message #559919] |
Mon, 20 September 2010 07:30  |
xuxian Messages: 1 Registered: September 2010 |
Junior Member |
|
|
As I known, for Internationalization, RAP architecture has the follow method to set encoding:
RWT.NLS.getISO8859_1Encoded( BUNDLE_NAME, clazz );
For Internationalization, XWT use follow method:
<Button Text="{x:Static java:Messages.title}" />
public class Messages extends NLS {
private static final String BUNDLE_NAME = "com.zte.ums.aos.web.fm.client.I18n.messages"; // NON-NLS-1
public static String title;
static {
NLS.initializeMessages(BUNDLE_NAME, Messages.class);
}
}
But now i want to use the UTF-8 encoding in my XWT file, but i do not known how I can do it , please help me, thanks very much?
[Updated on: Mon, 20 September 2010 07:34] Report message to a moderator
|
|
|
|
Powered by
FUDForum. Page generated in 0.03812 seconds