Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » GEF » Input Chinese characters get square characters
Input Chinese characters get square characters [message #128172] Wed, 21 April 2004 03:16 Go to next message
Eclipse UserFriend
Originally posted by: sellai.yahoo.com

Hi,
I realise few ppl might have tried this, but for those who had
experience, hope you can enlighten me. My program is similar to the logic
example. In the properties view, the user can enter a string of values and
it will be displayed in the label on the canvas. I tried to input chinese
characters with the following methods.

1) Change the locale in Windows and input the characters.
2) Download NJStar and input the characters.

For the first approach, i'm able to input the characters in the properties
view, however, the label on the canvas displayed squares instead of the
chinese words.

For the second approach, the moment NJStar is launched, the squares
displayed previously become chinese characters, however, i'm not able to
input any chinese characters into the properties view using the software.
why? Any help is appreciated. Thanks!

Regards,
June
Re: Input Chinese characters get square characters [message #128290 is a reply to message #128172] Thu, 22 April 2004 16:24 Go to previous messageGo to next message
Pratik Shah is currently offline Pratik ShahFriend
Messages: 1077
Registered: July 2009
Senior Member
What version of GEF are you using? What happens with direct-edit for a
label? Are you able to type just fine in other programs?

We have enablement tests done on our products with different languages, so
this should be working.

"June" <sellai@yahoo.com> wrote in message news:c64p2c$9nc$1@eclipse.org...
> Hi,
> I realise few ppl might have tried this, but for those who had
> experience, hope you can enlighten me. My program is similar to the logic
> example. In the properties view, the user can enter a string of values and
> it will be displayed in the label on the canvas. I tried to input chinese
> characters with the following methods.
>
> 1) Change the locale in Windows and input the characters.
> 2) Download NJStar and input the characters.
>
> For the first approach, i'm able to input the characters in the properties
> view, however, the label on the canvas displayed squares instead of the
> chinese words.
>
> For the second approach, the moment NJStar is launched, the squares
> displayed previously become chinese characters, however, i'm not able to
> input any chinese characters into the properties view using the software.
> why? Any help is appreciated. Thanks!
>
> Regards,
> June
>
Re: Input Chinese characters get square characters [message #128481 is a reply to message #128290] Fri, 23 April 2004 08:39 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: sellai.yahoo.com

Hi,
I'm using GEF 2.1.1. For direct edit, when i don't switch on the NJStar,
only square figures appear. It works fine with other programs. Can it
because of the default font used? For example in microsoft word, if the
font is not meant for chinese characters, square figure appear in place as
well.

Regards,
June

Pratik Shah wrote:

> What version of GEF are you using? What happens with direct-edit for a
> label? Are you able to type just fine in other programs?

> We have enablement tests done on our products with different languages, so
> this should be working.

> "June" <sellai@yahoo.com> wrote in message news:c64p2c$9nc$1@eclipse.org...
> > Hi,
> > I realise few ppl might have tried this, but for those who had
> > experience, hope you can enlighten me. My program is similar to the logic
> > example. In the properties view, the user can enter a string of values and
> > it will be displayed in the label on the canvas. I tried to input chinese
> > characters with the following methods.
> >
> > 1) Change the locale in Windows and input the characters.
> > 2) Download NJStar and input the characters.
> >
> > For the first approach, i'm able to input the characters in the properties
> > view, however, the label on the canvas displayed squares instead of the
> > chinese words.
> >
> > For the second approach, the moment NJStar is launched, the squares
> > displayed previously become chinese characters, however, i'm not able to
> > input any chinese characters into the properties view using the software.
> > why? Any help is appreciated. Thanks!
> >
> > Regards,
> > June
> >
Re: Input Chinese characters get square characters [message #128621 is a reply to message #128481] Fri, 23 April 2004 18:31 Go to previous message
Pratik Shah is currently offline Pratik ShahFriend
Messages: 1077
Registered: July 2009
Senior Member
I don't know enough about this to be able to help you determine what the
problem is. But my conjecture would be that there's something wrong in your
setup rather than a problem in Eclipse/GEF. You might want to try some
language other than Chinese to see if you can reproduce the problem. About
the problem with typing in the Properties View, you might want to try the
eclipse.platform newsgroup.

"June" <sellai@yahoo.com> wrote in message news:c6akoq$53o$1@eclipse.org...
> Hi,
> I'm using GEF 2.1.1. For direct edit, when i don't switch on the NJStar,
> only square figures appear. It works fine with other programs. Can it
> because of the default font used? For example in microsoft word, if the
> font is not meant for chinese characters, square figure appear in place as
> well.
>
> Regards,
> June
>
> Pratik Shah wrote:
>
> > What version of GEF are you using? What happens with direct-edit for a
> > label? Are you able to type just fine in other programs?
>
> > We have enablement tests done on our products with different languages,
so
> > this should be working.
>
> > "June" <sellai@yahoo.com> wrote in message
news:c64p2c$9nc$1@eclipse.org...
> > > Hi,
> > > I realise few ppl might have tried this, but for those who had
> > > experience, hope you can enlighten me. My program is similar to the
logic
> > > example. In the properties view, the user can enter a string of values
and
> > > it will be displayed in the label on the canvas. I tried to input
chinese
> > > characters with the following methods.
> > >
> > > 1) Change the locale in Windows and input the characters.
> > > 2) Download NJStar and input the characters.
> > >
> > > For the first approach, i'm able to input the characters in the
properties
> > > view, however, the label on the canvas displayed squares instead of
the
> > > chinese words.
> > >
> > > For the second approach, the moment NJStar is launched, the squares
> > > displayed previously become chinese characters, however, i'm not able
to
> > > input any chinese characters into the properties view using the
software.
> > > why? Any help is appreciated. Thanks!
> > >
> > > Regards,
> > > June
> > >
>
>
Previous Topic:UML Class overview of the GEF?
Next Topic:SnapToGrid problem
Goto Forum:
  


Current Time: Thu Dec 26 13:58:16 GMT 2024

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

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

Back to the top