Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse 4 » xwt Internationalization: how i can use UTF-8 encoding in XWT(how i can use UTF-8 encoding in XWT)
xwt Internationalization: how i can use UTF-8 encoding in XWT [message #559919] Mon, 20 September 2010 11:30 Go to next message
xuxian  is currently offline xuxian Friend
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 = ""; // 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 11:34]

Report message to a moderator

Re: xwt Internationalization: how i can use UTF-8 encoding in XWT [message #639373 is a reply to message #559919] Tue, 16 November 2010 10:09 Go to previous message
Yves YANG is currently offline Yves YANGFriend
Messages: 688
Registered: July 2009
Senior Member
How about using the header:
<?xml version="1.0" encoding="UTF-8"?>

Best regards
Previous Topic:[XWT] ToolItem.enabled with MultiBinding
Next Topic:Consistent duplication of custom xwt UI
Goto Forum:

Current Time: Tue Jun 15 20:26:36 GMT 2021

Powered by FUDForum. Page generated in 0.01921 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top