Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » M2T (model-to-text transformation) » JET ws:file tag options for Japanese characters
JET ws:file tag options for Japanese characters [message #39379] Fri, 11 January 2008 18:31 Go to next message
Roshan S. is currently offline Roshan S.Friend
Messages: 125
Registered: July 2009
Senior Member
Hi,

When using the <ws:file> there is an optional attribute for "encoding"
but the references from the eclipse help webpage doesn't specify the
different encodings that I can use. Does anyone know what different types
there are to use. I tried encoding="UTF-16" which did seem to make a
difference but it's not what I wanted and I need to see what other options
are available.

The reason I want to change this is because I am writing Japanese
characters out to the transformation output and they are not showing up
correctly. If there are any other suggestions that would help me a lot.

Thanks,
Roshan Soni
Re: JET ws:file tag options for Japanese characters [message #39903 is a reply to message #39379] Tue, 15 January 2008 15:03 Go to previous messageGo to next message
Paul Elder is currently offline Paul ElderFriend
Messages: 849
Registered: July 2009
Senior Member
Roshan:

encoding will support whatever encodings Eclipse supports.

If you are look for what those charsets are, write a quick program that
calls:

http://java.sun.com/j2se/1.5.0/docs/api/java/nio/charset/Cha rset.html#availableCharsets()

Paul

"Roshan Soni" <roshan.soni1@gmail.com> wrote in message
news:839a6bf08acbe87267bf7ed3577cbacf$1@www.eclipse.org...
> Hi,
>
> When using the <ws:file> there is an optional attribute for "encoding"
> but the references from the eclipse help webpage doesn't specify the
> different encodings that I can use. Does anyone know what different types
> there are to use. I tried encoding="UTF-16" which did seem to make a
> difference but it's not what I wanted and I need to see what other options
> are available.
>
> The reason I want to change this is because I am writing Japanese
> characters out to the transformation output and they are not showing up
> correctly. If there are any other suggestions that would help me a lot.
>
> Thanks,
> Roshan Soni
>
Re: JET ws:file tag options for Japanese characters [message #40180 is a reply to message #39903] Thu, 17 January 2008 14:07 Go to previous message
Roshan S. is currently offline Roshan S.Friend
Messages: 125
Registered: July 2009
Senior Member
Thanks,
That was just what I needed.
Previous Topic:why require a var definition in a loop?
Next Topic:jet ant task
Goto Forum:
  


Current Time: Thu Apr 25 14:35:43 GMT 2024

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

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

Back to the top