You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@poi.apache.org by Xuemin Guan <xu...@appresso.com> on 2003/08/01 08:31:53 UTC

Cell value encoding

Hello, dear all, I am having some problems dealding with
Japanese Characters. I set up a cell value as this:
cell.setCellValue("some Japanese characters go here");

And I end up with wrong values in the generated XLS file.

Then I looked up the POI API and souce code, and did the follow:

cell.setEncoding((short)1);//Using UTF_16
cell.setCellValue("some Japanese characters go here");

Then it worked fine. But I am not sure if this is the
right thing to do. Doesn't the POI/Excel supports something
like setting up the encoding using Shift_JS, ISO-8859-1
these stuff? Or I only have a choice between
ENCODING_COMPRESSED_UNICODE and or ENCODING_UTF_16?
And the thing I did was just right?

Any hint will be highly appreciated.

Best,

Xuemin


---------------------------------------------------------------------
To unsubscribe, e-mail: poi-user-unsubscribe@jakarta.apache.org
Mailing List:     http://jakarta.apache.org/site/mail2.html#poi
The Apache Jakarta Poi Project:  http://jakarta.apache.org/poi/


Re: Cell value encoding [moved from users]

Posted by "Andrew C. Oliver" <ac...@apache.org>.
On 8/2/03 3:56 AM, "Tetsuya Kitahata" <te...@apache.org> wrote:
> 
> It's rather related to FOP project, it seems. (Of course,
> related to the Forrest)
> 
> The motivation of raising the "ALL DOCUMENTS TO UTF-8" to poi-dev
> the other day was due to this issue, to be honest.
> If I replace the fonts to the japanese ones, they can not deal with
> "iso-8859-1" special characters properly (it will be garbled).
> Anyway, "ALL DOCUMENTS TO UTF-8" proposal had been rejected and
> I think it's okay.
> 
> Well, I am not sure whether there are ASL like chinese fonts,
> korean fonts etc... This can be discussed at FOP and Forrest, too.
> (If we think about the i18n/m17n of the ASF more seriously)
> 
> I know that if we (poi team) can solve this problem, it also
> means the prosperity of the Forrest Team (^_^)v
> 

Yup that¹s why as a poi committer, I tried to recruit someone who knows what
these issues are then pointed him to the tool we use, encouraged him to go
look at it and even introduced him to the most qualified person I know on
the tool.  (Pretty good plan if I do say so myself!)  It is not possible to
be an expert in all of the tools that we use.  Instead you rely on others.
You'll learn this quite soon at your present rate.

Just remember, the brightest flame burns the quickest.

-Andy

> Sincerely,
> 
> -- Tetsuya (tetsuya@apache.org)
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: poi-user-unsubscribe@jakarta.apache.org
> Mailing List:     http://jakarta.apache.org/site/mail2.html#poi
> The Apache Jakarta Poi Project:  http://jakarta.apache.org/poi/
> 

-- 
Andrew C. Oliver
http://www.superlinksoftware.com/poi.jsp
Custom enhancements and Commercial Implementation for Jakarta POI

http://jakarta.apache.org/poi
For Java and Excel, Got POI?


---------------------------------------------------------------------
To unsubscribe, e-mail: poi-dev-unsubscribe@jakarta.apache.org
Mailing List:    http://jakarta.apache.org/site/mail2.html#poi
The Apache Jakarta POI Project: http://jakarta.apache.org/poi/


Re: Cell value encoding

Posted by Tetsuya Kitahata <te...@apache.org>.
On Sat, 02 Aug 2003 00:59:07 -0400
(Subject: Re: Cell value encoding)
"Andrew C. Oliver" <ac...@apache.org> wrote:

> On 8/2/03 12:54 AM, "Tetsuya Kitahata" <te...@apache.org> wrote:
> > 
> > P.S. Andrew, there are many problems building POI-site in
> > japanese/korean/chinese languages, because the default
> > lacks the those 3 language's fonts. (in the process of the
> > creation of PDF files)

> I'm speaking from ignorance, but I bet we need a way that doesn't
> require us to check in things that we can't distribute (like M$ TTF
> font files) I'm hooking you up with Nicola Ken.  Really what we need
> is someone who is in the know to hook up with the forrest crowd.  We
> just use Forrest for our documentation so any real change needs to
> take place there.  As a bonus it will help a lot of other projects too.

It's rather related to FOP project, it seems. (Of course,
related to the Forrest)

The motivation of raising the "ALL DOCUMENTS TO UTF-8" to poi-dev
the other day was due to this issue, to be honest.
If I replace the fonts to the japanese ones, they can not deal with
"iso-8859-1" special characters properly (it will be garbled).
Anyway, "ALL DOCUMENTS TO UTF-8" proposal had been rejected and
I think it's okay.

Well, I am not sure whether there are ASL like chinese fonts,
korean fonts etc... This can be discussed at FOP and Forrest, too.
(If we think about the i18n/m17n of the ASF more seriously)

I know that if we (poi team) can solve this problem, it also
means the prosperity of the Forrest Team (^_^)v

Sincerely,

-- Tetsuya (tetsuya@apache.org)



---------------------------------------------------------------------
To unsubscribe, e-mail: poi-user-unsubscribe@jakarta.apache.org
Mailing List:     http://jakarta.apache.org/site/mail2.html#poi
The Apache Jakarta Poi Project:  http://jakarta.apache.org/poi/


Re: Chinese Translation (Re: Cell value encoding)

Posted by "Andrew C. Oliver" <ac...@apache.org>.
> 
> P.S. Andrew, Chinese/Korean/Japanese are different from
> western languages. you can not build the chinese/japanese
> sites from xdocs in your environment, i guess. I need more
> wisdom from all over the world!
>

The first I'm aware of ;-).  I actually think it would be best to write them
in xdoc and solve the build problem with the forrest/fop folks.  Otherwise
we end up not fixing the problem and furthermore we end up possibly having
to reformat an HTML document that we can't read into XML.  If it is in XML,
worst case I transform it to HTML with a simple stylesheet.  The other
direction doesn't work so well ;-)

-Andy

 
> --
> 
> On Sat, 2 Aug 2003 20:58:05 +0900
> (Subject: Re: Cell value encoding)
> "Xuemin Guan" <xu...@appresso.com> wrote:
> 
>> Hello, guys, thanks for all the emails. As I am a Chinese native
>> spearker, doing a Chinese version documentation would be a cinch for
>> me. I would like to do it as part of this site, if possible. I can start
>> this straightaway. Any suggestions, hints, or guidlines on documentation
>> are all welcome.
>> 
>> Cheers,
>> 
>> Xuemin
>> 
>> ----- Original Message -----
>> From: "Tetsuya Kitahata" <te...@apache.org>
>> To: "POI Users List" <po...@jakarta.apache.org>
>> Sent: Saturday, August 02, 2003 1:54 PM
>> Subject: Re: Cell value encoding
>> 
>> 
>>> 
>>> Yes, sure.
>>> 
>>> I know that appresso is a japanese company (because my company is
>>> also listed up to the "Opensource Technology Alliance"), however,
>>> I am not sure which language you (Mr. Xuemin Guan) often use.
>>> 
>>> I think I can help you in some points.
>>> 
>>> Thank you.
>>> 
>>> -- Tetsuya (tetsuya@apache.org)
>>> 
>>> P.S. Andrew, there are many problems building POI-site in
>>> japanese/korean/chinese languages, because the default
>>> lacks the those 3 language's fonts. (in the process of the
>>> creation of PDF files)
>>> 
>>> On Sat, 02 Aug 2003 00:43:31 -0400
>>> (Subject: Re: Cell value encoding)
>>> "Andrew C. Oliver" <ac...@apache.org> wrote:
>>> 
>>>> Sure!  If you can write something up just kind of explaining what POI
>> is,
>>>> how to use it, the character encoding issue, etc that would be awesome.
>> An
>>>> article or how to, or something like that.  We'll publish it here and
>> give
>>>> you accords.
>>>> 
>>>> If you want to do it as part of the site, just do it in the "xdoc"
>> format
>>>> that all the existing docuemntation is in.  Its basically XML.  See
>> here:
>>>> 
>> http://cvs.apache.org/viewcvs/jakarta-poi/src/documentation/content/xdocs/
>>>> 
>>>> Tetsuya Kitahata can probably give you a few pointers with the encoding
>> and
>>>> the such.
>>>> 
>>>> -andy
>>>> 
>>>> On 8/1/03 11:42 PM, "Xuemin Guan" <xu...@appresso.com> wrote:
>>>> 
>>>>> Hello, Andy, surely I can do this. It is my pleasure if I can
>> contribute
>>>>> a bit to the POI project. Could you please point me a way of how do
>> this?
>>>>> 
>>>>> Thanks,
>>>>> 
>>>>> Xuemin
>>>>> 
>>>>> ----- Original Message -----
>>>>> From: "Andrew C. Oliver" <ac...@apache.org>
>>>>> To: "POI Users List" <po...@jakarta.apache.org>
>>>>> Sent: Saturday, August 02, 2003 2:17 AM
>>>>> Subject: Re: Cell value encoding
>>>>> 
>>>>> 
>>>>>> Yeah man.  Pass the word along BTW.  If you can publish any
>> non-english
>>>>>> documentation on this it would sure help us out a lot.  We can always
>> help
>>>>>> with hosting it.
>>>>>> 
>>>>>> Thanks,
>>>>>> 
>>>>>> Andy
>>>>>> 
>>>>>> On 8/1/03 1:12 PM, "Xuemin Guan" <xu...@appresso.com> wrote:
>>>>>> 
>>>>>>> Hello, Andy, thanks a lot for the note!
>>>>>>> 
>>>>>>> Best,
>>>>>>> 
>>>>>>> Xuemin
>>>>>>> 
>>>>>>> ----- Original Message -----
>>>>>>> From: "Andrew C. Oliver" <ac...@apache.org>
>>>>>>> To: "POI Users List" <po...@jakarta.apache.org>
>>>>>>> Sent: Friday, August 01, 2003 10:31 PM
>>>>>>> Subject: Re: Cell value encoding
>>>>>>> 
>>>>>>> 
>>>>>>>> You did the right thing.  The UTF_16 is a misnomer carried from the
>>>>>>> earliest
>>>>>>>> versions of POI.  In 3.0 these will be renamed to "EIGHT_BIT_CSET
>> and
>>>>>>>> SIXTEEN_BIT_CSET" or something.  The first case is useful only for
>> US
>>>>>>>> character sets.  The only problem is how to name this concisely and
>>>>>>> clearly
>>>>>>>> (because there are some eight bit character sets that excel writes
>> in 2
>>>>>>>> bytes because Excel is a silly format).
>>>>>>>> 
>>>>>>>> -Andy
>>>>>>>> 
>>>>>>>> 
>>>>>>>> On 8/1/03 2:31 AM, "Xuemin Guan" <xu...@appresso.com> wrote:
>>>>>>>> 
>>>>>>>>> Hello, dear all, I am having some problems dealding with
>>>>>>>>> Japanese Characters. I set up a cell value as this:
>>>>>>>>> cell.setCellValue("some Japanese characters go here");
>>>>>>>>> 
>>>>>>>>> And I end up with wrong values in the generated XLS file.
>>>>>>>>> 
>>>>>>>>> Then I looked up the POI API and souce code, and did the follow:
>>>>>>>>> 
>>>>>>>>> cell.setEncoding((short)1);//Using UTF_16
>>>>>>>>> cell.setCellValue("some Japanese characters go here");
>>>>>>>>> 
>>>>>>>>> Then it worked fine. But I am not sure if this is the
>>>>>>>>> right thing to do. Doesn't the POI/Excel supports something
>>>>>>>>> like setting up the encoding using Shift_JS, ISO-8859-1
>>>>>>>>> these stuff? Or I only have a choice between
>>>>>>>>> ENCODING_COMPRESSED_UNICODE and or ENCODING_UTF_16?
>>>>>>>>> And the thing I did was just right?
>>>>>>>>> 
>>>>>>>>> Any hint will be highly appreciated.
>>>>>>>>> 
>>>>>>>>> Best,
>>>>>>>>> 
>>>>>>>>> Xuemin
>>> 
>>> 
>>> -----------------------------------------------------
>>> Tetsuya Kitahata --  Terra-International, Inc.
>>> E-mail: tetsuya@apache.org
>>> http://www.terra-intl.com/
>>> (Apache Jakarta Translation, Japanese)
>>> http://jakarta.terra-intl.com/
>>> 
>>> 
>>> 
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: poi-user-unsubscribe@jakarta.apache.org
>>> Mailing List:     http://jakarta.apache.org/site/mail2.html#poi
>>> The Apache Jakarta Poi Project:  http://jakarta.apache.org/poi/
>>> 
>>> 
>> 
>> 
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: poi-user-unsubscribe@jakarta.apache.org
>> Mailing List:     http://jakarta.apache.org/site/mail2.html#poi
>> The Apache Jakarta Poi Project:  http://jakarta.apache.org/poi/
> 
> -----------------------------------------------------
> Tetsuya Kitahata --  Terra-International, Inc.
> E-mail: tetsuya@apache.org
> http://www.terra-intl.com/
> (Apache Jakarta Translation, Japanese)
> http://jakarta.terra-intl.com/
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: poi-user-unsubscribe@jakarta.apache.org
> Mailing List:     http://jakarta.apache.org/site/mail2.html#poi
> The Apache Jakarta Poi Project:  http://jakarta.apache.org/poi/
> 

-- 
Andrew C. Oliver
http://www.superlinksoftware.com/poi.jsp
Custom enhancements and Commercial Implementation for Jakarta POI

http://jakarta.apache.org/poi
For Java and Excel, Got POI?


---------------------------------------------------------------------
To unsubscribe, e-mail: poi-dev-unsubscribe@jakarta.apache.org
Mailing List:    http://jakarta.apache.org/site/mail2.html#poi
The Apache Jakarta POI Project: http://jakarta.apache.org/poi/


Scheduler Parameters

Posted by Mohammad Irfan <m_...@nurulfikri.co.id>.
Hello,
When I use JobEntry(second,minute,hour,weekday,dom,task) parameter
weekday must be filled with int 1-7. Is 1 = monday or Sunday?

thank you.


---------------------------------------------------------------------
To unsubscribe, e-mail: turbine-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: turbine-user-help@jakarta.apache.org


Re: TDK - problem building distribution

Posted by Roger Ackroyd <ma...@ackroyd.freeserve.co.uk>.
Missed this off last post
Roger


Re: TDK - problem building distribution

Posted by Roger Ackroyd <ma...@ackroyd.freeserve.co.uk>.
Missed this off last post
Roger

Re: TDK - problem building distribution

Posted by Roger Ackroyd <ma...@ackroyd.freeserve.co.uk>.
Hello Jeff
----- Original Message -----
From: "Jeffery Painter" <pa...@kiasoft.com>
To: "Turbine Users List" <tu...@jakarta.apache.org>
Sent: Sunday, August 03, 2003 1:44 AM
Subject: Re: TDK - problem building distribution


> Hi Roger,
>
What I am really trying to achieve is just to get a working example web app
using maven. I was trying to get the web app sample app working that is
bundled with the TDK binary. This is Ant built; all the required jars are
bundled in the TDK dist. lib.
It builds the web app framework ok but when you try to build the table it
says it cannot find the jars but the jars are there
> Could you please send me your APPNAME-conf.xml file and maybe a copy of
There are no -conf.xml files under C:\tdk-2.2 (where I unzipped the binary
dist and set the TDK_HOME env var and already built the webapp framework Ok)
> your TurbineResources.properties file offlist and I'll take a look.
Attached
>
> What platform and versions of java, ant, postgres are you using? I
Win XP Home, java "1.4.1_02", ant 1.5.3-1, postgres 7.3.3 but I dont think
it is to do with these or paths to same, as they have been stable for some
time working correctly with many other things.
> recently tried moving a working app from MySQL to postgres and ran into
The reason I switched to postgres was because of the problems I was having
with MySql on JBoss, then had a load of problems getting postgres working on
this platform. Nightmares. There are known issues with cygwin and postgresql
on windows XP home but these are resolved on this machine.
I am pretty certain there should be no problems with the db
> a few quirks that I may be able to quickly point out if I see these two
> files.
Is this what you need?
Thanks
Roger
>
> Thanks,
>
> Jeff Painter
> painter@kiasoft.com
>
>
> Roger Ackroyd wrote:
>
> >Am attempting to Install the TDK 2.2.1 distribution .tar and build the
> >sample Turbine application following:
> >http://jakarta.apache.org/turbine/tdk/tdk-howto.html
> >Everything behaves as expected until step 5 when following is the result:
> >
> > Owner@gabriel /c/tdk-2.2/webapps/newapp/web-inf/build
> >$ ant init
> >Buildfile: build.xml
> >check-webinf-exists:
> >setup-webinf:
> >init:
> >setup:
> >init-tasks:
> >BUILD FAILED
> >file:C:/tdk-2.2/webapps/newapp/web-inf/build/build.xml:133: taskdef class
> >org.apache.velocity.texen.
> >ant.TexenTask cannot be found
> >Total time: 1 second
> >Owner@gabriel /c/tdk-2.2/webapps/newapp/web-inf/build
> >$
> >
> >I have read and understand the purpose of each step described in the
> >document. All env. vars. are set correctly.
> >Only changes made are those indicated in document.
> >The database is set up for PostgreSQL but I do'nt think from the above
that
> >we have reached that point.
> >I was hoping that using this distribution I would eliminate all the
problems
> >I have had in building any Turbine application that I can use to get on
to
> >using Maven effectively.
> >Have been on with this and turbine/torque for a good few frustrating days
> >now so any assistance would be gladly appreciated
> >Thank you
> >Roger
> >
> >
> >
> >---------------------------------------------------------------------
> >To unsubscribe, e-mail: turbine-user-unsubscribe@jakarta.apache.org
> >For additional commands, e-mail: turbine-user-help@jakarta.apache.org
> >
> >
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: turbine-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: turbine-user-help@jakarta.apache.org
>
>
>

Re: TDK - problem building distribution

Posted by Roger Ackroyd <ma...@ackroyd.freeserve.co.uk>.
Hello Jeff
----- Original Message -----
From: "Jeffery Painter" <pa...@kiasoft.com>
To: "Turbine Users List" <tu...@jakarta.apache.org>
Sent: Sunday, August 03, 2003 1:44 AM
Subject: Re: TDK - problem building distribution


> Hi Roger,
>
What I am really trying to achieve is just to get a working example web app
using maven. I was trying to get the web app sample app working that is
bundled with the TDK binary. This is Ant built; all the required jars are
bundled in the TDK dist. lib.
It builds the web app framework ok but when you try to build the table it
says it cannot find the jars but the jars are there
> Could you please send me your APPNAME-conf.xml file and maybe a copy of
There are no -conf.xml files under C:\tdk-2.2 (where I unzipped the binary
dist and set the TDK_HOME env var and already built the webapp framework Ok)
> your TurbineResources.properties file offlist and I'll take a look.
Attached
>
> What platform and versions of java, ant, postgres are you using? I
Win XP Home, java "1.4.1_02", ant 1.5.3-1, postgres 7.3.3 but I dont think
it is to do with these or paths to same, as they have been stable for some
time working correctly with many other things.
> recently tried moving a working app from MySQL to postgres and ran into
The reason I switched to postgres was because of the problems I was having
with MySql on JBoss, then had a load of problems getting postgres working on
this platform. Nightmares. There are known issues with cygwin and postgresql
on windows XP home but these are resolved on this machine.
I am pretty certain there should be no problems with the db
> a few quirks that I may be able to quickly point out if I see these two
> files.
Is this what you need?
Thanks
Roger
>
> Thanks,
>
> Jeff Painter
> painter@kiasoft.com
>
>
> Roger Ackroyd wrote:
>
> >Am attempting to Install the TDK 2.2.1 distribution .tar and build the
> >sample Turbine application following:
> >http://jakarta.apache.org/turbine/tdk/tdk-howto.html
> >Everything behaves as expected until step 5 when following is the result:
> >
> > Owner@gabriel /c/tdk-2.2/webapps/newapp/web-inf/build
> >$ ant init
> >Buildfile: build.xml
> >check-webinf-exists:
> >setup-webinf:
> >init:
> >setup:
> >init-tasks:
> >BUILD FAILED
> >file:C:/tdk-2.2/webapps/newapp/web-inf/build/build.xml:133: taskdef class
> >org.apache.velocity.texen.
> >ant.TexenTask cannot be found
> >Total time: 1 second
> >Owner@gabriel /c/tdk-2.2/webapps/newapp/web-inf/build
> >$
> >
> >I have read and understand the purpose of each step described in the
> >document. All env. vars. are set correctly.
> >Only changes made are those indicated in document.
> >The database is set up for PostgreSQL but I do'nt think from the above
that
> >we have reached that point.
> >I was hoping that using this distribution I would eliminate all the
problems
> >I have had in building any Turbine application that I can use to get on
to
> >using Maven effectively.
> >Have been on with this and turbine/torque for a good few frustrating days
> >now so any assistance would be gladly appreciated
> >Thank you
> >Roger
> >
> >
> >
> >---------------------------------------------------------------------
> >To unsubscribe, e-mail: turbine-user-unsubscribe@jakarta.apache.org
> >For additional commands, e-mail: turbine-user-help@jakarta.apache.org
> >
> >
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: turbine-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: turbine-user-help@jakarta.apache.org
>
>
>


Re: TDK - problem building distribution

Posted by Jeffery Painter <pa...@kiasoft.com>.
Hi Roger,

Could you please send me your APPNAME-conf.xml file and maybe a copy of 
your TurbineResources.properties file offlist and I'll take a look.

What platform and versions of java, ant, postgres are you using? I 
recently tried moving a working app from MySQL to postgres and ran into 
a few quirks that I may be able to quickly point out if I see these two 
files.

Thanks,

Jeff Painter
painter@kiasoft.com


Roger Ackroyd wrote:

>Am attempting to Install the TDK 2.2.1 distribution .tar and build the
>sample Turbine application following:
>http://jakarta.apache.org/turbine/tdk/tdk-howto.html
>Everything behaves as expected until step 5 when following is the result:
>
> Owner@gabriel /c/tdk-2.2/webapps/newapp/web-inf/build
>$ ant init
>Buildfile: build.xml
>check-webinf-exists:
>setup-webinf:
>init:
>setup:
>init-tasks:
>BUILD FAILED
>file:C:/tdk-2.2/webapps/newapp/web-inf/build/build.xml:133: taskdef class
>org.apache.velocity.texen.
>ant.TexenTask cannot be found
>Total time: 1 second
>Owner@gabriel /c/tdk-2.2/webapps/newapp/web-inf/build
>$
>
>I have read and understand the purpose of each step described in the
>document. All env. vars. are set correctly.
>Only changes made are those indicated in document.
>The database is set up for PostgreSQL but I do'nt think from the above that
>we have reached that point.
>I was hoping that using this distribution I would eliminate all the problems
>I have had in building any Turbine application that I can use to get on to
>using Maven effectively.
>Have been on with this and turbine/torque for a good few frustrating days
>now so any assistance would be gladly appreciated
>Thank you
>Roger
>
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: turbine-user-unsubscribe@jakarta.apache.org
>For additional commands, e-mail: turbine-user-help@jakarta.apache.org
>  
>



---------------------------------------------------------------------
To unsubscribe, e-mail: turbine-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: turbine-user-help@jakarta.apache.org


Re: TDK - problem building distribution

Posted by Jeffery Painter <pa...@kiasoft.com>.
Hi Roger,

Could you please send me your APPNAME-conf.xml file and maybe a copy of 
your TurbineResources.properties file offlist and I'll take a look.

What platform and versions of java, ant, postgres are you using? I 
recently tried moving a working app from MySQL to postgres and ran into 
a few quirks that I may be able to quickly point out if I see these two 
files.

Thanks,

Jeff Painter
painter@kiasoft.com


Roger Ackroyd wrote:

>Am attempting to Install the TDK 2.2.1 distribution .tar and build the
>sample Turbine application following:
>http://jakarta.apache.org/turbine/tdk/tdk-howto.html
>Everything behaves as expected until step 5 when following is the result:
>
> Owner@gabriel /c/tdk-2.2/webapps/newapp/web-inf/build
>$ ant init
>Buildfile: build.xml
>check-webinf-exists:
>setup-webinf:
>init:
>setup:
>init-tasks:
>BUILD FAILED
>file:C:/tdk-2.2/webapps/newapp/web-inf/build/build.xml:133: taskdef class
>org.apache.velocity.texen.
>ant.TexenTask cannot be found
>Total time: 1 second
>Owner@gabriel /c/tdk-2.2/webapps/newapp/web-inf/build
>$
>
>I have read and understand the purpose of each step described in the
>document. All env. vars. are set correctly.
>Only changes made are those indicated in document.
>The database is set up for PostgreSQL but I do'nt think from the above that
>we have reached that point.
>I was hoping that using this distribution I would eliminate all the problems
>I have had in building any Turbine application that I can use to get on to
>using Maven effectively.
>Have been on with this and turbine/torque for a good few frustrating days
>now so any assistance would be gladly appreciated
>Thank you
>Roger
>
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: turbine-user-unsubscribe@jakarta.apache.org
>For additional commands, e-mail: turbine-user-help@jakarta.apache.org
>  
>



Scheduler Parameters

Posted by Mohammad Irfan <m_...@nurulfikri.co.id>.
Hello,
When I use JobEntry(second,minute,hour,weekday,dom,task) parameter
weekday must be filled with int 1-7. Is 1 = monday or Sunday?

thank you.


Re: TDK - problem building distribution

Posted by Roger Ackroyd <ma...@ackroyd.freeserve.co.uk>.
Lee
It fails because none of the jars get copied into into the   ..\webapps\newapp\WEB-INF\lib on the first of the ant builds. You  will probably find that it is empty.
Note there is a \tdk\lib folder under the TDK_HOME full of jars.. I just copied the lot into the ..\WEB-INF\lib and ant init then runs fine.
I am wondering if the TDK has been 'mavenised' in some way but this does not seem quite right because there are no project.xml files. 
As you may know, a Maven build would normally obtain all the jars it needs from a central repository as it needs them at buildtime (pretty neat).
If this is a/the solution then a note to that effect might have been expected in a ReadME. As it stands, the distribution build is 'broken' according to the instructions as given. Have a try with that and see how it goes.
Roger
  
----- Original Message ----- 
From: "Lee Grey" <le...@mindspring.com>
To: "Turbine Users List" <tu...@jakarta.apache.org>
Sent: Monday, August 04, 2003 3:08 AM
Subject: RE: TDK - problem building distribution


> Roger,
> 
> You are running into the same problem I'm having, but on a different line in
> build.xml.  I am getting this:
> e
> # ant init
> Buildfile: build.xml
> check-webinf-exists:
> setup-webinf:
> init:
> setup:
> init-tasks:
> create-database:
> BUILD FAILED
> file:/var/tdk-2.2/webapps/newapp/WEB-INF/build/build-torque.xml:91: taskdef
> class org.apache.torque.task.TorqueJDBCTransformTask cannot be found
> 
> Interestingly, I found someone else
> (http://www.computing.net/programming/wwwboard/forum/7251.html) who has this
> error:
> 
> $ ant -f build-torque.xml create-db
> Buildfile: build-torque.xml
> BUILD FAILED
> file:c:/torque-3.0.1/build-torque.xml:87: taskdef class
> org.apache.torque.task.TorqueDataModelTask cannot be found
> 
> 
> I've succeeded in doing this whole process on a Windows machine, but I can't
> get past this error on my Linux box.  I have checked within torque-3.0.jar
> in the lib directory, and it contains the "missing" class.
> 
> Now that there are at least three people having this problem, it seems to be
> something more significant than mere operator error.  Any ideas?
> 
> Thanks,
> Lee Grey
> 
> 
> -----Original Message-----
> From: Roger Ackroyd [mailto:maven@ackroyd.freeserve.co.uk]
> Sent: Saturday, August 02, 2003 4:17 PM
> To: Turbine Users List
> Subject: TDK - problem building distribution
> 
> 
> Am attempting to Install the TDK 2.2.1 distribution .tar and build the
> sample Turbine application following:
> http://jakarta.apache.org/turbine/tdk/tdk-howto.html
> Everything behaves as expected until step 5 when following is the result:
> 
>  Owner@gabriel /c/tdk-2.2/webapps/newapp/web-inf/build
> $ ant init
> Buildfile: build.xml
> check-webinf-exists:
> setup-webinf:
> init:
> setup:
> init-tasks:
> BUILD FAILED
> file:C:/tdk-2.2/webapps/newapp/web-inf/build/build.xml:133: taskdef class
> org.apache.velocity.texen.
> ant.TexenTask cannot be found
> Total time: 1 second
> Owner@gabriel /c/tdk-2.2/webapps/newapp/web-inf/build
> $
> 
> I have read and understand the purpose of each step described in the
> document. All env. vars. are set correctly.
> Only changes made are those indicated in document.
> The database is set up for PostgreSQL but I do'nt think from the above that
> we have reached that point.
> I was hoping that using this distribution I would eliminate all the problems
> I have had in building any Turbine application that I can use to get on to
> using Maven effectively.
> Have been on with this and turbine/torque for a good few frustrating days
> now so any assistance would be gladly appreciated
> Thank you
> Roger
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: turbine-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: turbine-user-help@jakarta.apache.org
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: turbine-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: turbine-user-help@jakarta.apache.org
> 
> 
> 

RE: TDK - problem building distribution

Posted by Lee Grey <le...@mindspring.com>.
Roger,

You are running into the same problem I'm having, but on a different line in
build.xml.  I am getting this:

# ant init
Buildfile: build.xml
check-webinf-exists:
setup-webinf:
init:
setup:
init-tasks:
create-database:
BUILD FAILED
file:/var/tdk-2.2/webapps/newapp/WEB-INF/build/build-torque.xml:91: taskdef
class org.apache.torque.task.TorqueJDBCTransformTask cannot be found

Interestingly, I found someone else
(http://www.computing.net/programming/wwwboard/forum/7251.html) who has this
error:

$ ant -f build-torque.xml create-db
Buildfile: build-torque.xml
BUILD FAILED
file:c:/torque-3.0.1/build-torque.xml:87: taskdef class
org.apache.torque.task.TorqueDataModelTask cannot be found


I've succeeded in doing this whole process on a Windows machine, but I can't
get past this error on my Linux box.  I have checked within torque-3.0.jar
in the lib directory, and it contains the "missing" class.

Now that there are at least three people having this problem, it seems to be
something more significant than mere operator error.  Any ideas?

Thanks,
Lee Grey


-----Original Message-----
From: Roger Ackroyd [mailto:maven@ackroyd.freeserve.co.uk]
Sent: Saturday, August 02, 2003 4:17 PM
To: Turbine Users List
Subject: TDK - problem building distribution


Am attempting to Install the TDK 2.2.1 distribution .tar and build the
sample Turbine application following:
http://jakarta.apache.org/turbine/tdk/tdk-howto.html
Everything behaves as expected until step 5 when following is the result:

 Owner@gabriel /c/tdk-2.2/webapps/newapp/web-inf/build
$ ant init
Buildfile: build.xml
check-webinf-exists:
setup-webinf:
init:
setup:
init-tasks:
BUILD FAILED
file:C:/tdk-2.2/webapps/newapp/web-inf/build/build.xml:133: taskdef class
org.apache.velocity.texen.
ant.TexenTask cannot be found
Total time: 1 second
Owner@gabriel /c/tdk-2.2/webapps/newapp/web-inf/build
$

I have read and understand the purpose of each step described in the
document. All env. vars. are set correctly.
Only changes made are those indicated in document.
The database is set up for PostgreSQL but I do'nt think from the above that
we have reached that point.
I was hoping that using this distribution I would eliminate all the problems
I have had in building any Turbine application that I can use to get on to
using Maven effectively.
Have been on with this and turbine/torque for a good few frustrating days
now so any assistance would be gladly appreciated
Thank you
Roger



---------------------------------------------------------------------
To unsubscribe, e-mail: turbine-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: turbine-user-help@jakarta.apache.org


RE: TDK - problem building distribution

Posted by Lee Grey <le...@mindspring.com>.
Roger,

You are running into the same problem I'm having, but on a different line in
build.xml.  I am getting this:

# ant init
Buildfile: build.xml
check-webinf-exists:
setup-webinf:
init:
setup:
init-tasks:
create-database:
BUILD FAILED
file:/var/tdk-2.2/webapps/newapp/WEB-INF/build/build-torque.xml:91: taskdef
class org.apache.torque.task.TorqueJDBCTransformTask cannot be found

Interestingly, I found someone else
(http://www.computing.net/programming/wwwboard/forum/7251.html) who has this
error:

$ ant -f build-torque.xml create-db
Buildfile: build-torque.xml
BUILD FAILED
file:c:/torque-3.0.1/build-torque.xml:87: taskdef class
org.apache.torque.task.TorqueDataModelTask cannot be found


I've succeeded in doing this whole process on a Windows machine, but I can't
get past this error on my Linux box.  I have checked within torque-3.0.jar
in the lib directory, and it contains the "missing" class.

Now that there are at least three people having this problem, it seems to be
something more significant than mere operator error.  Any ideas?

Thanks,
Lee Grey


-----Original Message-----
From: Roger Ackroyd [mailto:maven@ackroyd.freeserve.co.uk]
Sent: Saturday, August 02, 2003 4:17 PM
To: Turbine Users List
Subject: TDK - problem building distribution


Am attempting to Install the TDK 2.2.1 distribution .tar and build the
sample Turbine application following:
http://jakarta.apache.org/turbine/tdk/tdk-howto.html
Everything behaves as expected until step 5 when following is the result:

 Owner@gabriel /c/tdk-2.2/webapps/newapp/web-inf/build
$ ant init
Buildfile: build.xml
check-webinf-exists:
setup-webinf:
init:
setup:
init-tasks:
BUILD FAILED
file:C:/tdk-2.2/webapps/newapp/web-inf/build/build.xml:133: taskdef class
org.apache.velocity.texen.
ant.TexenTask cannot be found
Total time: 1 second
Owner@gabriel /c/tdk-2.2/webapps/newapp/web-inf/build
$

I have read and understand the purpose of each step described in the
document. All env. vars. are set correctly.
Only changes made are those indicated in document.
The database is set up for PostgreSQL but I do'nt think from the above that
we have reached that point.
I was hoping that using this distribution I would eliminate all the problems
I have had in building any Turbine application that I can use to get on to
using Maven effectively.
Have been on with this and turbine/torque for a good few frustrating days
now so any assistance would be gladly appreciated
Thank you
Roger



---------------------------------------------------------------------
To unsubscribe, e-mail: turbine-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: turbine-user-help@jakarta.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: turbine-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: turbine-user-help@jakarta.apache.org


TDK - problem building distribution

Posted by Roger Ackroyd <ma...@ackroyd.freeserve.co.uk>.
Am attempting to Install the TDK 2.2.1 distribution .tar and build the
sample Turbine application following:
http://jakarta.apache.org/turbine/tdk/tdk-howto.html
Everything behaves as expected until step 5 when following is the result:

 Owner@gabriel /c/tdk-2.2/webapps/newapp/web-inf/build
$ ant init
Buildfile: build.xml
check-webinf-exists:
setup-webinf:
init:
setup:
init-tasks:
BUILD FAILED
file:C:/tdk-2.2/webapps/newapp/web-inf/build/build.xml:133: taskdef class
org.apache.velocity.texen.
ant.TexenTask cannot be found
Total time: 1 second
Owner@gabriel /c/tdk-2.2/webapps/newapp/web-inf/build
$

I have read and understand the purpose of each step described in the
document. All env. vars. are set correctly.
Only changes made are those indicated in document.
The database is set up for PostgreSQL but I do'nt think from the above that
we have reached that point.
I was hoping that using this distribution I would eliminate all the problems
I have had in building any Turbine application that I can use to get on to
using Maven effectively.
Have been on with this and turbine/torque for a good few frustrating days
now so any assistance would be gladly appreciated
Thank you
Roger



---------------------------------------------------------------------
To unsubscribe, e-mail: turbine-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: turbine-user-help@jakarta.apache.org


TDK - problem building distribution

Posted by Roger Ackroyd <ma...@ackroyd.freeserve.co.uk>.
Am attempting to Install the TDK 2.2.1 distribution .tar and build the
sample Turbine application following:
http://jakarta.apache.org/turbine/tdk/tdk-howto.html
Everything behaves as expected until step 5 when following is the result:

 Owner@gabriel /c/tdk-2.2/webapps/newapp/web-inf/build
$ ant init
Buildfile: build.xml
check-webinf-exists:
setup-webinf:
init:
setup:
init-tasks:
BUILD FAILED
file:C:/tdk-2.2/webapps/newapp/web-inf/build/build.xml:133: taskdef class
org.apache.velocity.texen.
ant.TexenTask cannot be found
Total time: 1 second
Owner@gabriel /c/tdk-2.2/webapps/newapp/web-inf/build
$

I have read and understand the purpose of each step described in the
document. All env. vars. are set correctly.
Only changes made are those indicated in document.
The database is set up for PostgreSQL but I do'nt think from the above that
we have reached that point.
I was hoping that using this distribution I would eliminate all the problems
I have had in building any Turbine application that I can use to get on to
using Maven effectively.
Have been on with this and turbine/torque for a good few frustrating days
now so any assistance would be gladly appreciated
Thank you
Roger



FW: Chinese Translation (Re: Cell value encoding)

Posted by "Andrew C. Oliver" <ac...@apache.org>.
Any help you guys can offer on this will be greatly appreciated.
-- 
Andrew C. Oliver
http://www.superlinksoftware.com/poi.jsp
Custom enhancements and Commercial Implementation for Jakarta POI

http://jakarta.apache.org/poi
For Java and Excel, Got POI?

------ Forwarded Message
From: Tetsuya Kitahata <te...@apache.org>
Reply-To: "POI Users List" <po...@jakarta.apache.org>
Date: Sat, 02 Aug 2003 22:51:33 +0900
To: "POI Users List" <po...@jakarta.apache.org>, "Xuemin Guan"
<xu...@appresso.com>
Subject: Chinese Translation (Re: Cell value encoding)

Xuemin,


Greeeeeeeeeeeeeeat!! Very appreciative!!

However, I know that you will have a trouble in
building the current POI website. (What people in
multi-byte chars must undergo...)

Anyway, I need more information from you. Could you
please give me the info of your environment?
(Which tool do you use in editing the xmls?
Windows Japanese/Traditional Chinese/**** (I forgot) Chinese Edition?
Are there any free fonts of chinese? (just my ignorance, sorry))

I think (temporarily) uploading the docs (not xdocs)
from Xuemin (built site by Xuemin) directly to daedalus
will be the best choice. I am willing to volunteer to do this.

Also, I am thinking about the i18n/m17n of the Apache Software
Foundation (infrastructure for the translators, etc) and
I hope it will be achieved sooner or later.

-- Tetsuya (tetsuya@apache.org)

P.S. Andrew, Chinese/Korean/Japanese are different from
western languages. you can not build the chinese/japanese
sites from xdocs in your environment, i guess. I need more
wisdom from all over the world!

--

On Sat, 2 Aug 2003 20:58:05 +0900
(Subject: Re: Cell value encoding)
"Xuemin Guan" <xu...@appresso.com> wrote:

> Hello, guys, thanks for all the emails. As I am a Chinese native
> spearker, doing a Chinese version documentation would be a cinch for
> me. I would like to do it as part of this site, if possible. I can start
> this straightaway. Any suggestions, hints, or guidlines on documentation
> are all welcome.
> 
> Cheers,
> 
> Xuemin
> 
> ----- Original Message -----
> From: "Tetsuya Kitahata" <te...@apache.org>
> To: "POI Users List" <po...@jakarta.apache.org>
> Sent: Saturday, August 02, 2003 1:54 PM
> Subject: Re: Cell value encoding
> 
> 
> >
> > Yes, sure.
> >
> > I know that appresso is a japanese company (because my company is
> > also listed up to the "Opensource Technology Alliance"), however,
> > I am not sure which language you (Mr. Xuemin Guan) often use.
> >
> > I think I can help you in some points.
> >
> > Thank you.
> >
> > -- Tetsuya (tetsuya@apache.org)
> >
> > P.S. Andrew, there are many problems building POI-site in
> > japanese/korean/chinese languages, because the default
> > lacks the those 3 language's fonts. (in the process of the
> > creation of PDF files)
> >
> > On Sat, 02 Aug 2003 00:43:31 -0400
> > (Subject: Re: Cell value encoding)
> > "Andrew C. Oliver" <ac...@apache.org> wrote:
> >
> > > Sure!  If you can write something up just kind of explaining what POI
> is,
> > > how to use it, the character encoding issue, etc that would be awesome.
> An
> > > article or how to, or something like that.  We'll publish it here and
> give
> > > you accords.
> > >
> > > If you want to do it as part of the site, just do it in the "xdoc"
> format
> > > that all the existing docuemntation is in.  Its basically XML.  See
> here:
> > >
> http://cvs.apache.org/viewcvs/jakarta-poi/src/documentation/content/xdocs/
> > >
> > > Tetsuya Kitahata can probably give you a few pointers with the encoding
> and
> > > the such.
> > >
> > > -andy
> > >
> > > On 8/1/03 11:42 PM, "Xuemin Guan" <xu...@appresso.com> wrote:
> > >
> > > > Hello, Andy, surely I can do this. It is my pleasure if I can
> contribute
> > > > a bit to the POI project. Could you please point me a way of how do
> this?
> > > >
> > > > Thanks,
> > > >
> > > > Xuemin
> > > >
> > > > ----- Original Message -----
> > > > From: "Andrew C. Oliver" <ac...@apache.org>
> > > > To: "POI Users List" <po...@jakarta.apache.org>
> > > > Sent: Saturday, August 02, 2003 2:17 AM
> > > > Subject: Re: Cell value encoding
> > > >
> > > >
> > > >> Yeah man.  Pass the word along BTW.  If you can publish any
> non-english
> > > >> documentation on this it would sure help us out a lot.  We can always
> help
> > > >> with hosting it.
> > > >>
> > > >> Thanks,
> > > >>
> > > >> Andy
> > > >>
> > > >> On 8/1/03 1:12 PM, "Xuemin Guan" <xu...@appresso.com> wrote:
> > > >>
> > > >>> Hello, Andy, thanks a lot for the note!
> > > >>>
> > > >>> Best,
> > > >>>
> > > >>> Xuemin
> > > >>>
> > > >>> ----- Original Message -----
> > > >>> From: "Andrew C. Oliver" <ac...@apache.org>
> > > >>> To: "POI Users List" <po...@jakarta.apache.org>
> > > >>> Sent: Friday, August 01, 2003 10:31 PM
> > > >>> Subject: Re: Cell value encoding
> > > >>>
> > > >>>
> > > >>>> You did the right thing.  The UTF_16 is a misnomer carried from the
> > > >>> earliest
> > > >>>> versions of POI.  In 3.0 these will be renamed to "EIGHT_BIT_CSET
> and
> > > >>>> SIXTEEN_BIT_CSET" or something.  The first case is useful only for
> US
> > > >>>> character sets.  The only problem is how to name this concisely and
> > > >>> clearly
> > > >>>> (because there are some eight bit character sets that excel writes
> in 2
> > > >>>> bytes because Excel is a silly format).
> > > >>>>
> > > >>>> -Andy
> > > >>>>
> > > >>>>
> > > >>>> On 8/1/03 2:31 AM, "Xuemin Guan" <xu...@appresso.com> wrote:
> > > >>>>
> > > >>>>> Hello, dear all, I am having some problems dealding with
> > > >>>>> Japanese Characters. I set up a cell value as this:
> > > >>>>> cell.setCellValue("some Japanese characters go here");
> > > >>>>>
> > > >>>>> And I end up with wrong values in the generated XLS file.
> > > >>>>>
> > > >>>>> Then I looked up the POI API and souce code, and did the follow:
> > > >>>>>
> > > >>>>> cell.setEncoding((short)1);//Using UTF_16
> > > >>>>> cell.setCellValue("some Japanese characters go here");
> > > >>>>>
> > > >>>>> Then it worked fine. But I am not sure if this is the
> > > >>>>> right thing to do. Doesn't the POI/Excel supports something
> > > >>>>> like setting up the encoding using Shift_JS, ISO-8859-1
> > > >>>>> these stuff? Or I only have a choice between
> > > >>>>> ENCODING_COMPRESSED_UNICODE and or ENCODING_UTF_16?
> > > >>>>> And the thing I did was just right?
> > > >>>>>
> > > >>>>> Any hint will be highly appreciated.
> > > >>>>>
> > > >>>>> Best,
> > > >>>>>
> > > >>>>> Xuemin
> >
> >
> > -----------------------------------------------------
> > Tetsuya Kitahata --  Terra-International, Inc.
> > E-mail: tetsuya@apache.org
> > http://www.terra-intl.com/
> > (Apache Jakarta Translation, Japanese)
> > http://jakarta.terra-intl.com/
> >
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: poi-user-unsubscribe@jakarta.apache.org
> > Mailing List:     http://jakarta.apache.org/site/mail2.html#poi
> > The Apache Jakarta Poi Project:  http://jakarta.apache.org/poi/
> >
> >
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: poi-user-unsubscribe@jakarta.apache.org
> Mailing List:     http://jakarta.apache.org/site/mail2.html#poi
> The Apache Jakarta Poi Project:  http://jakarta.apache.org/poi/

-----------------------------------------------------
Tetsuya Kitahata --  Terra-International, Inc.
E-mail: tetsuya@apache.org
http://www.terra-intl.com/
(Apache Jakarta Translation, Japanese)
http://jakarta.terra-intl.com/



---------------------------------------------------------------------
To unsubscribe, e-mail: poi-user-unsubscribe@jakarta.apache.org
Mailing List:     http://jakarta.apache.org/site/mail2.html#poi
The Apache Jakarta Poi Project:  http://jakarta.apache.org/poi/


------ End of Forwarded Message


Chinese Translation (Re: Cell value encoding)

Posted by Tetsuya Kitahata <te...@apache.org>.
Xuemin,


Greeeeeeeeeeeeeeat!! Very appreciative!!

However, I know that you will have a trouble in
building the current POI website. (What people in
multi-byte chars must undergo...)

Anyway, I need more information from you. Could you
please give me the info of your environment?
(Which tool do you use in editing the xmls?
Windows Japanese/Traditional Chinese/**** (I forgot) Chinese Edition?
Are there any free fonts of chinese? (just my ignorance, sorry))

I think (temporarily) uploading the docs (not xdocs)
from Xuemin (built site by Xuemin) directly to daedalus
will be the best choice. I am willing to volunteer to do this.

Also, I am thinking about the i18n/m17n of the Apache Software
Foundation (infrastructure for the translators, etc) and
I hope it will be achieved sooner or later.

-- Tetsuya (tetsuya@apache.org)

P.S. Andrew, Chinese/Korean/Japanese are different from
western languages. you can not build the chinese/japanese
sites from xdocs in your environment, i guess. I need more
wisdom from all over the world!

--

On Sat, 2 Aug 2003 20:58:05 +0900
(Subject: Re: Cell value encoding)
"Xuemin Guan" <xu...@appresso.com> wrote:

> Hello, guys, thanks for all the emails. As I am a Chinese native
> spearker, doing a Chinese version documentation would be a cinch for
> me. I would like to do it as part of this site, if possible. I can start
> this straightaway. Any suggestions, hints, or guidlines on documentation
> are all welcome.
> 
> Cheers,
> 
> Xuemin
> 
> ----- Original Message ----- 
> From: "Tetsuya Kitahata" <te...@apache.org>
> To: "POI Users List" <po...@jakarta.apache.org>
> Sent: Saturday, August 02, 2003 1:54 PM
> Subject: Re: Cell value encoding
> 
> 
> >
> > Yes, sure.
> >
> > I know that appresso is a japanese company (because my company is
> > also listed up to the "Opensource Technology Alliance"), however,
> > I am not sure which language you (Mr. Xuemin Guan) often use.
> >
> > I think I can help you in some points.
> >
> > Thank you.
> >
> > -- Tetsuya (tetsuya@apache.org)
> >
> > P.S. Andrew, there are many problems building POI-site in
> > japanese/korean/chinese languages, because the default
> > lacks the those 3 language's fonts. (in the process of the
> > creation of PDF files)
> >
> > On Sat, 02 Aug 2003 00:43:31 -0400
> > (Subject: Re: Cell value encoding)
> > "Andrew C. Oliver" <ac...@apache.org> wrote:
> >
> > > Sure!  If you can write something up just kind of explaining what POI
> is,
> > > how to use it, the character encoding issue, etc that would be awesome.
> An
> > > article or how to, or something like that.  We'll publish it here and
> give
> > > you accords.
> > >
> > > If you want to do it as part of the site, just do it in the "xdoc"
> format
> > > that all the existing docuemntation is in.  Its basically XML.  See
> here:
> > >
> http://cvs.apache.org/viewcvs/jakarta-poi/src/documentation/content/xdocs/
> > >
> > > Tetsuya Kitahata can probably give you a few pointers with the encoding
> and
> > > the such.
> > >
> > > -andy
> > >
> > > On 8/1/03 11:42 PM, "Xuemin Guan" <xu...@appresso.com> wrote:
> > >
> > > > Hello, Andy, surely I can do this. It is my pleasure if I can
> contribute
> > > > a bit to the POI project. Could you please point me a way of how do
> this?
> > > >
> > > > Thanks,
> > > >
> > > > Xuemin
> > > >
> > > > ----- Original Message -----
> > > > From: "Andrew C. Oliver" <ac...@apache.org>
> > > > To: "POI Users List" <po...@jakarta.apache.org>
> > > > Sent: Saturday, August 02, 2003 2:17 AM
> > > > Subject: Re: Cell value encoding
> > > >
> > > >
> > > >> Yeah man.  Pass the word along BTW.  If you can publish any
> non-english
> > > >> documentation on this it would sure help us out a lot.  We can always
> help
> > > >> with hosting it.
> > > >>
> > > >> Thanks,
> > > >>
> > > >> Andy
> > > >>
> > > >> On 8/1/03 1:12 PM, "Xuemin Guan" <xu...@appresso.com> wrote:
> > > >>
> > > >>> Hello, Andy, thanks a lot for the note!
> > > >>>
> > > >>> Best,
> > > >>>
> > > >>> Xuemin
> > > >>>
> > > >>> ----- Original Message -----
> > > >>> From: "Andrew C. Oliver" <ac...@apache.org>
> > > >>> To: "POI Users List" <po...@jakarta.apache.org>
> > > >>> Sent: Friday, August 01, 2003 10:31 PM
> > > >>> Subject: Re: Cell value encoding
> > > >>>
> > > >>>
> > > >>>> You did the right thing.  The UTF_16 is a misnomer carried from the
> > > >>> earliest
> > > >>>> versions of POI.  In 3.0 these will be renamed to "EIGHT_BIT_CSET
> and
> > > >>>> SIXTEEN_BIT_CSET" or something.  The first case is useful only for
> US
> > > >>>> character sets.  The only problem is how to name this concisely and
> > > >>> clearly
> > > >>>> (because there are some eight bit character sets that excel writes
> in 2
> > > >>>> bytes because Excel is a silly format).
> > > >>>>
> > > >>>> -Andy
> > > >>>>
> > > >>>>
> > > >>>> On 8/1/03 2:31 AM, "Xuemin Guan" <xu...@appresso.com> wrote:
> > > >>>>
> > > >>>>> Hello, dear all, I am having some problems dealding with
> > > >>>>> Japanese Characters. I set up a cell value as this:
> > > >>>>> cell.setCellValue("some Japanese characters go here");
> > > >>>>>
> > > >>>>> And I end up with wrong values in the generated XLS file.
> > > >>>>>
> > > >>>>> Then I looked up the POI API and souce code, and did the follow:
> > > >>>>>
> > > >>>>> cell.setEncoding((short)1);//Using UTF_16
> > > >>>>> cell.setCellValue("some Japanese characters go here");
> > > >>>>>
> > > >>>>> Then it worked fine. But I am not sure if this is the
> > > >>>>> right thing to do. Doesn't the POI/Excel supports something
> > > >>>>> like setting up the encoding using Shift_JS, ISO-8859-1
> > > >>>>> these stuff? Or I only have a choice between
> > > >>>>> ENCODING_COMPRESSED_UNICODE and or ENCODING_UTF_16?
> > > >>>>> And the thing I did was just right?
> > > >>>>>
> > > >>>>> Any hint will be highly appreciated.
> > > >>>>>
> > > >>>>> Best,
> > > >>>>>
> > > >>>>> Xuemin
> >
> >
> > -----------------------------------------------------
> > Tetsuya Kitahata --  Terra-International, Inc.
> > E-mail: tetsuya@apache.org
> > http://www.terra-intl.com/
> > (Apache Jakarta Translation, Japanese)
> > http://jakarta.terra-intl.com/
> >
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: poi-user-unsubscribe@jakarta.apache.org
> > Mailing List:     http://jakarta.apache.org/site/mail2.html#poi
> > The Apache Jakarta Poi Project:  http://jakarta.apache.org/poi/
> >
> >
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: poi-user-unsubscribe@jakarta.apache.org
> Mailing List:     http://jakarta.apache.org/site/mail2.html#poi
> The Apache Jakarta Poi Project:  http://jakarta.apache.org/poi/

-----------------------------------------------------
Tetsuya Kitahata --  Terra-International, Inc.
E-mail: tetsuya@apache.org
http://www.terra-intl.com/
(Apache Jakarta Translation, Japanese)
http://jakarta.terra-intl.com/



---------------------------------------------------------------------
To unsubscribe, e-mail: poi-user-unsubscribe@jakarta.apache.org
Mailing List:     http://jakarta.apache.org/site/mail2.html#poi
The Apache Jakarta Poi Project:  http://jakarta.apache.org/poi/


Re: Cell value encoding

Posted by "Andrew C. Oliver" <ac...@apache.org>.
These are more or less applicable:
http://jakarta.apache.org/poi/trans/guidelines.html

On 8/2/03 7:58 AM, "Xuemin Guan" <xu...@appresso.com> wrote:

> Hello, guys, thanks for all the emails. As I am a Chinese native
> spearker, doing a Chinese version documentation would be a cinch for
> me. I would like to do it as part of this site, if possible. I can start
> this straightaway. Any suggestions, hints, or guidlines on documentation
> are all welcome.
> 
> Cheers,
> 
> Xuemin
> 
> ----- Original Message -----
> From: "Tetsuya Kitahata" <te...@apache.org>
> To: "POI Users List" <po...@jakarta.apache.org>
> Sent: Saturday, August 02, 2003 1:54 PM
> Subject: Re: Cell value encoding
> 
> 
>> 
>> Yes, sure.
>> 
>> I know that appresso is a japanese company (because my company is
>> also listed up to the "Opensource Technology Alliance"), however,
>> I am not sure which language you (Mr. Xuemin Guan) often use.
>> 
>> I think I can help you in some points.
>> 
>> Thank you.
>> 
>> -- Tetsuya (tetsuya@apache.org)
>> 
>> P.S. Andrew, there are many problems building POI-site in
>> japanese/korean/chinese languages, because the default
>> lacks the those 3 language's fonts. (in the process of the
>> creation of PDF files)
>> 
>> On Sat, 02 Aug 2003 00:43:31 -0400
>> (Subject: Re: Cell value encoding)
>> "Andrew C. Oliver" <ac...@apache.org> wrote:
>> 
>>> Sure!  If you can write something up just kind of explaining what POI
> is,
>>> how to use it, the character encoding issue, etc that would be awesome.
> An
>>> article or how to, or something like that.  We'll publish it here and
> give
>>> you accords.
>>> 
>>> If you want to do it as part of the site, just do it in the "xdoc"
> format
>>> that all the existing docuemntation is in.  Its basically XML.  See
> here:
>>> 
> http://cvs.apache.org/viewcvs/jakarta-poi/src/documentation/content/xdocs/
>>> 
>>> Tetsuya Kitahata can probably give you a few pointers with the encoding
> and
>>> the such.
>>> 
>>> -andy
>>> 
>>> On 8/1/03 11:42 PM, "Xuemin Guan" <xu...@appresso.com> wrote:
>>> 
>>>> Hello, Andy, surely I can do this. It is my pleasure if I can
> contribute
>>>> a bit to the POI project. Could you please point me a way of how do
> this?
>>>> 
>>>> Thanks,
>>>> 
>>>> Xuemin
>>>> 
>>>> ----- Original Message -----
>>>> From: "Andrew C. Oliver" <ac...@apache.org>
>>>> To: "POI Users List" <po...@jakarta.apache.org>
>>>> Sent: Saturday, August 02, 2003 2:17 AM
>>>> Subject: Re: Cell value encoding
>>>> 
>>>> 
>>>>> Yeah man.  Pass the word along BTW.  If you can publish any
> non-english
>>>>> documentation on this it would sure help us out a lot.  We can always
> help
>>>>> with hosting it.
>>>>> 
>>>>> Thanks,
>>>>> 
>>>>> Andy
>>>>> 
>>>>> On 8/1/03 1:12 PM, "Xuemin Guan" <xu...@appresso.com> wrote:
>>>>> 
>>>>>> Hello, Andy, thanks a lot for the note!
>>>>>> 
>>>>>> Best,
>>>>>> 
>>>>>> Xuemin
>>>>>> 
>>>>>> ----- Original Message -----
>>>>>> From: "Andrew C. Oliver" <ac...@apache.org>
>>>>>> To: "POI Users List" <po...@jakarta.apache.org>
>>>>>> Sent: Friday, August 01, 2003 10:31 PM
>>>>>> Subject: Re: Cell value encoding
>>>>>> 
>>>>>> 
>>>>>>> You did the right thing.  The UTF_16 is a misnomer carried from the
>>>>>> earliest
>>>>>>> versions of POI.  In 3.0 these will be renamed to "EIGHT_BIT_CSET
> and
>>>>>>> SIXTEEN_BIT_CSET" or something.  The first case is useful only for
> US
>>>>>>> character sets.  The only problem is how to name this concisely and
>>>>>> clearly
>>>>>>> (because there are some eight bit character sets that excel writes
> in 2
>>>>>>> bytes because Excel is a silly format).
>>>>>>> 
>>>>>>> -Andy
>>>>>>> 
>>>>>>> 
>>>>>>> On 8/1/03 2:31 AM, "Xuemin Guan" <xu...@appresso.com> wrote:
>>>>>>> 
>>>>>>>> Hello, dear all, I am having some problems dealding with
>>>>>>>> Japanese Characters. I set up a cell value as this:
>>>>>>>> cell.setCellValue("some Japanese characters go here");
>>>>>>>> 
>>>>>>>> And I end up with wrong values in the generated XLS file.
>>>>>>>> 
>>>>>>>> Then I looked up the POI API and souce code, and did the follow:
>>>>>>>> 
>>>>>>>> cell.setEncoding((short)1);//Using UTF_16
>>>>>>>> cell.setCellValue("some Japanese characters go here");
>>>>>>>> 
>>>>>>>> Then it worked fine. But I am not sure if this is the
>>>>>>>> right thing to do. Doesn't the POI/Excel supports something
>>>>>>>> like setting up the encoding using Shift_JS, ISO-8859-1
>>>>>>>> these stuff? Or I only have a choice between
>>>>>>>> ENCODING_COMPRESSED_UNICODE and or ENCODING_UTF_16?
>>>>>>>> And the thing I did was just right?
>>>>>>>> 
>>>>>>>> Any hint will be highly appreciated.
>>>>>>>> 
>>>>>>>> Best,
>>>>>>>> 
>>>>>>>> Xuemin
>> 
>> 
>> -----------------------------------------------------
>> Tetsuya Kitahata --  Terra-International, Inc.
>> E-mail: tetsuya@apache.org
>> http://www.terra-intl.com/
>> (Apache Jakarta Translation, Japanese)
>> http://jakarta.terra-intl.com/
>> 
>> 
>> 
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: poi-user-unsubscribe@jakarta.apache.org
>> Mailing List:     http://jakarta.apache.org/site/mail2.html#poi
>> The Apache Jakarta Poi Project:  http://jakarta.apache.org/poi/
>> 
>> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: poi-user-unsubscribe@jakarta.apache.org
> Mailing List:     http://jakarta.apache.org/site/mail2.html#poi
> The Apache Jakarta Poi Project:  http://jakarta.apache.org/poi/
> 

-- 
Andrew C. Oliver
http://www.superlinksoftware.com/poi.jsp
Custom enhancements and Commercial Implementation for Jakarta POI

http://jakarta.apache.org/poi
For Java and Excel, Got POI?


---------------------------------------------------------------------
To unsubscribe, e-mail: poi-user-unsubscribe@jakarta.apache.org
Mailing List:     http://jakarta.apache.org/site/mail2.html#poi
The Apache Jakarta Poi Project:  http://jakarta.apache.org/poi/


Re: Cell value encoding

Posted by Xuemin Guan <xu...@appresso.com>.
Hello, guys, thanks for all the emails. As I am a Chinese native
spearker, doing a Chinese version documentation would be a cinch for
me. I would like to do it as part of this site, if possible. I can start
this straightaway. Any suggestions, hints, or guidlines on documentation
are all welcome.

Cheers,

Xuemin

----- Original Message ----- 
From: "Tetsuya Kitahata" <te...@apache.org>
To: "POI Users List" <po...@jakarta.apache.org>
Sent: Saturday, August 02, 2003 1:54 PM
Subject: Re: Cell value encoding


>
> Yes, sure.
>
> I know that appresso is a japanese company (because my company is
> also listed up to the "Opensource Technology Alliance"), however,
> I am not sure which language you (Mr. Xuemin Guan) often use.
>
> I think I can help you in some points.
>
> Thank you.
>
> -- Tetsuya (tetsuya@apache.org)
>
> P.S. Andrew, there are many problems building POI-site in
> japanese/korean/chinese languages, because the default
> lacks the those 3 language's fonts. (in the process of the
> creation of PDF files)
>
> On Sat, 02 Aug 2003 00:43:31 -0400
> (Subject: Re: Cell value encoding)
> "Andrew C. Oliver" <ac...@apache.org> wrote:
>
> > Sure!  If you can write something up just kind of explaining what POI
is,
> > how to use it, the character encoding issue, etc that would be awesome.
An
> > article or how to, or something like that.  We'll publish it here and
give
> > you accords.
> >
> > If you want to do it as part of the site, just do it in the "xdoc"
format
> > that all the existing docuemntation is in.  Its basically XML.  See
here:
> >
http://cvs.apache.org/viewcvs/jakarta-poi/src/documentation/content/xdocs/
> >
> > Tetsuya Kitahata can probably give you a few pointers with the encoding
and
> > the such.
> >
> > -andy
> >
> > On 8/1/03 11:42 PM, "Xuemin Guan" <xu...@appresso.com> wrote:
> >
> > > Hello, Andy, surely I can do this. It is my pleasure if I can
contribute
> > > a bit to the POI project. Could you please point me a way of how do
this?
> > >
> > > Thanks,
> > >
> > > Xuemin
> > >
> > > ----- Original Message -----
> > > From: "Andrew C. Oliver" <ac...@apache.org>
> > > To: "POI Users List" <po...@jakarta.apache.org>
> > > Sent: Saturday, August 02, 2003 2:17 AM
> > > Subject: Re: Cell value encoding
> > >
> > >
> > >> Yeah man.  Pass the word along BTW.  If you can publish any
non-english
> > >> documentation on this it would sure help us out a lot.  We can always
help
> > >> with hosting it.
> > >>
> > >> Thanks,
> > >>
> > >> Andy
> > >>
> > >> On 8/1/03 1:12 PM, "Xuemin Guan" <xu...@appresso.com> wrote:
> > >>
> > >>> Hello, Andy, thanks a lot for the note!
> > >>>
> > >>> Best,
> > >>>
> > >>> Xuemin
> > >>>
> > >>> ----- Original Message -----
> > >>> From: "Andrew C. Oliver" <ac...@apache.org>
> > >>> To: "POI Users List" <po...@jakarta.apache.org>
> > >>> Sent: Friday, August 01, 2003 10:31 PM
> > >>> Subject: Re: Cell value encoding
> > >>>
> > >>>
> > >>>> You did the right thing.  The UTF_16 is a misnomer carried from the
> > >>> earliest
> > >>>> versions of POI.  In 3.0 these will be renamed to "EIGHT_BIT_CSET
and
> > >>>> SIXTEEN_BIT_CSET" or something.  The first case is useful only for
US
> > >>>> character sets.  The only problem is how to name this concisely and
> > >>> clearly
> > >>>> (because there are some eight bit character sets that excel writes
in 2
> > >>>> bytes because Excel is a silly format).
> > >>>>
> > >>>> -Andy
> > >>>>
> > >>>>
> > >>>> On 8/1/03 2:31 AM, "Xuemin Guan" <xu...@appresso.com> wrote:
> > >>>>
> > >>>>> Hello, dear all, I am having some problems dealding with
> > >>>>> Japanese Characters. I set up a cell value as this:
> > >>>>> cell.setCellValue("some Japanese characters go here");
> > >>>>>
> > >>>>> And I end up with wrong values in the generated XLS file.
> > >>>>>
> > >>>>> Then I looked up the POI API and souce code, and did the follow:
> > >>>>>
> > >>>>> cell.setEncoding((short)1);//Using UTF_16
> > >>>>> cell.setCellValue("some Japanese characters go here");
> > >>>>>
> > >>>>> Then it worked fine. But I am not sure if this is the
> > >>>>> right thing to do. Doesn't the POI/Excel supports something
> > >>>>> like setting up the encoding using Shift_JS, ISO-8859-1
> > >>>>> these stuff? Or I only have a choice between
> > >>>>> ENCODING_COMPRESSED_UNICODE and or ENCODING_UTF_16?
> > >>>>> And the thing I did was just right?
> > >>>>>
> > >>>>> Any hint will be highly appreciated.
> > >>>>>
> > >>>>> Best,
> > >>>>>
> > >>>>> Xuemin
>
>
> -----------------------------------------------------
> Tetsuya Kitahata --  Terra-International, Inc.
> E-mail: tetsuya@apache.org
> http://www.terra-intl.com/
> (Apache Jakarta Translation, Japanese)
> http://jakarta.terra-intl.com/
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: poi-user-unsubscribe@jakarta.apache.org
> Mailing List:     http://jakarta.apache.org/site/mail2.html#poi
> The Apache Jakarta Poi Project:  http://jakarta.apache.org/poi/
>
>


---------------------------------------------------------------------
To unsubscribe, e-mail: poi-user-unsubscribe@jakarta.apache.org
Mailing List:     http://jakarta.apache.org/site/mail2.html#poi
The Apache Jakarta Poi Project:  http://jakarta.apache.org/poi/


Re: CJK fonts (Re: Cell value encoding)

Posted by Jeff Turner <je...@apache.org>.
On Sun, Aug 03, 2003 at 10:42:36PM +0900, Tetsuya Kitahata wrote:

[snip CJK fonts in Forrest]
...
> But I am still not sure how to implement this using
> forrestbot.

If there are any sites needing CJK fonts, I can modify the Forrestbot's
copy of Forrest to use the extra font.

> I am wondering the *smart* way to implement
> the i18n to forrestbot.
> For Example, I am translating the Apache Incubator Site
> into Japanese (now hosted at my company's website).
> I want it to integrate to incubator site itself (or the
> i18n/m17n infrastructure on the ASF) in the future.
> How can we generate the docs uploading xmls to minotaur CVS
> and rendering docs at daedalus? (Japanized Version of Incubator Site)
> (http://incubator.terra-intl.com/)

Can't we just have:

src/documentation/content/xdocs/en/
src/documentation/content/xdocs/jp/
src/documentation/content/xdocs/de/
...

?

--Jeff

> 
> -- Tetsuya (tetsuya@apache.org)
> 
> 

Re: CJK fonts (Re: Cell value encoding)

Posted by Tetsuya Kitahata <te...@apache.org>.
On Sun, 3 Aug 2003 23:16:32 +1000
(Subject: Re: CJK fonts (Re: Cell value encoding))
Jeff Turner <je...@apache.org> wrote:

> It can be done with Forrest; see http://www.iasandcb.pe.kr/3g/index.html
> 
> Source for that site (or an old version of it anyway):
> 
> http://www.iasandcb.pe.kr/resources/ias-forrest-0.4.zip
> 
> Some threads wrt. generating Forrest sites with chinese/korean
> characters:
> 
> http://marc.theaimsgroup.com/?l=forrest-dev&m=103604121521559&w=2
> 
> And the post being replied to in:
> 
> http://marc.theaimsgroup.com/?l=forrest-dev&m=104003266621423&w=2
> 
> which is part of this thread:
> 
> http://marc.theaimsgroup.com/?t=103963662000005&r=1&w=2
> 
> HTH,

Yes, it helps a lot! ;-)

especially,
http://marc.theaimsgroup.com/?l=forrest-dev&m=104003266621423&w=2
ftp://ftp.netscape.com/pub/communicator/extras/fonts/windows/Cyberbit.ZIP

--

But I am still not sure how to implement this using
forrestbot. I am wondering the *smart* way to implement
the i18n to forrestbot.
For Example, I am translating the Apache Incubator Site
into Japanese (now hosted at my company's website).
I want it to integrate to incubator site itself (or the
i18n/m17n infrastructure on the ASF) in the future.
How can we generate the docs uploading xmls to minotaur CVS
and rendering docs at daedalus? (Japanized Version of Incubator Site)
(http://incubator.terra-intl.com/)


-- Tetsuya (tetsuya@apache.org)


> 
> --Jeff
> 
> 
> On Sat, Aug 02, 2003 at 05:12:16PM +0900, Tetsuya Kitahata wrote:
> > 
> > Thanks Nicola,
> > 
> > This will be (I think) related to the internationalization/
> > multilingualization of the whole ASF projects (websites),
> > if we think about the i18n/m17n of the ASF more seriously.
> > 
> > Well, I am not sure whether there are ASL like chinese fonts,
> > korean fonts etc... This can be discussed at FOP and Forrest, too.
> > 
> > I know that if we (poi team) can solve this problem, it also
> > means the prosperity of the Forrest Team (^_^)v
> > 
> > -- Tetsuya (tetsuya@apache.org)
> > 
> > 
> > On Sat, 02 Aug 2003 09:57:31 +0200
> > (Subject: Re: Cell value encoding)
> > Nicola Ken Barozzi <ni...@apache.org> wrote:
> > 
> > > 
> > > Andrew C. Oliver wrote, On 02/08/2003 6.59:
> > > 
> > > > On 8/2/03 12:54 AM, "Tetsuya Kitahata" <te...@apache.org> wrote:
> > > > 
> > > >>P.S. Andrew, there are many problems building POI-site in
> > > >>japanese/korean/chinese languages, because the default
> > > >>lacks the those 3 language's fonts. (in the process of the
> > > >>creation of PDF files)
> > > > 
> > > > I'm speaking from ignorance, but I bet we need a way that doesn't require us
> > > > to check in things that we can't distribute (like M$ TTF font files) I'm
> > > > hooking you up with Nicola Ken.  Really what we need is someone who is in
> > > > the know to hook up with the forrest crowd.  We just use Forrest for our
> > > > documentation so any real change needs to take place there.  As a bonus it
> > > > will help a lot of other projects too.
> > > 
> > > Yup. Forwarding to forrest-dev.
> > > 
> > > -- 
> > > Nicola Ken Barozzi                   nicolaken@apache.org
> > >              - verba volant, scripta manent -
> > >     (discussions get forgotten, just code remains)
> > > ---------------------------------------------------------------------
> > 
> > -----------------------------------------------------
> > Tetsuya Kitahata --  Terra-International, Inc.
> > E-mail: tetsuya@apache.org
> > http://www.terra-intl.com/
> > (Apache Jakarta Translation, Japanese)
> > http://jakarta.terra-intl.com/
> > 
> > 

-----------------------------------------------------
Tetsuya Kitahata --  Terra-International, Inc.
E-mail: tetsuya@apache.org
http://www.terra-intl.com/
(Apache Jakarta Translation, Japanese)
http://jakarta.terra-intl.com/



Re: CJK fonts (Re: Cell value encoding)

Posted by Jeff Turner <je...@apache.org>.
It can be done with Forrest; see http://www.iasandcb.pe.kr/3g/index.html

Source for that site (or an old version of it anyway):

http://www.iasandcb.pe.kr/resources/ias-forrest-0.4.zip

Some threads wrt. generating Forrest sites with chinese/korean
characters:

http://marc.theaimsgroup.com/?l=forrest-dev&m=103604121521559&w=2

And the post being replied to in:

http://marc.theaimsgroup.com/?l=forrest-dev&m=104003266621423&w=2

which is part of this thread:

http://marc.theaimsgroup.com/?t=103963662000005&r=1&w=2

HTH,


--Jeff


On Sat, Aug 02, 2003 at 05:12:16PM +0900, Tetsuya Kitahata wrote:
> 
> Thanks Nicola,
> 
> This will be (I think) related to the internationalization/
> multilingualization of the whole ASF projects (websites),
> if we think about the i18n/m17n of the ASF more seriously.
> 
> Well, I am not sure whether there are ASL like chinese fonts,
> korean fonts etc... This can be discussed at FOP and Forrest, too.
> 
> I know that if we (poi team) can solve this problem, it also
> means the prosperity of the Forrest Team (^_^)v
> 
> -- Tetsuya (tetsuya@apache.org)
> 
> 
> On Sat, 02 Aug 2003 09:57:31 +0200
> (Subject: Re: Cell value encoding)
> Nicola Ken Barozzi <ni...@apache.org> wrote:
> 
> > 
> > Andrew C. Oliver wrote, On 02/08/2003 6.59:
> > 
> > > On 8/2/03 12:54 AM, "Tetsuya Kitahata" <te...@apache.org> wrote:
> > > 
> > >>P.S. Andrew, there are many problems building POI-site in
> > >>japanese/korean/chinese languages, because the default
> > >>lacks the those 3 language's fonts. (in the process of the
> > >>creation of PDF files)
> > > 
> > > I'm speaking from ignorance, but I bet we need a way that doesn't require us
> > > to check in things that we can't distribute (like M$ TTF font files) I'm
> > > hooking you up with Nicola Ken.  Really what we need is someone who is in
> > > the know to hook up with the forrest crowd.  We just use Forrest for our
> > > documentation so any real change needs to take place there.  As a bonus it
> > > will help a lot of other projects too.
> > 
> > Yup. Forwarding to forrest-dev.
> > 
> > -- 
> > Nicola Ken Barozzi                   nicolaken@apache.org
> >              - verba volant, scripta manent -
> >     (discussions get forgotten, just code remains)
> > ---------------------------------------------------------------------
> 
> -----------------------------------------------------
> Tetsuya Kitahata --  Terra-International, Inc.
> E-mail: tetsuya@apache.org
> http://www.terra-intl.com/
> (Apache Jakarta Translation, Japanese)
> http://jakarta.terra-intl.com/
> 
> 

CJK fonts (Re: Cell value encoding)

Posted by Tetsuya Kitahata <te...@apache.org>.
Thanks Nicola,

This will be (I think) related to the internationalization/
multilingualization of the whole ASF projects (websites),
if we think about the i18n/m17n of the ASF more seriously.

Well, I am not sure whether there are ASL like chinese fonts,
korean fonts etc... This can be discussed at FOP and Forrest, too.

I know that if we (poi team) can solve this problem, it also
means the prosperity of the Forrest Team (^_^)v

-- Tetsuya (tetsuya@apache.org)


On Sat, 02 Aug 2003 09:57:31 +0200
(Subject: Re: Cell value encoding)
Nicola Ken Barozzi <ni...@apache.org> wrote:

> 
> Andrew C. Oliver wrote, On 02/08/2003 6.59:
> 
> > On 8/2/03 12:54 AM, "Tetsuya Kitahata" <te...@apache.org> wrote:
> > 
> >>P.S. Andrew, there are many problems building POI-site in
> >>japanese/korean/chinese languages, because the default
> >>lacks the those 3 language's fonts. (in the process of the
> >>creation of PDF files)
> > 
> > I'm speaking from ignorance, but I bet we need a way that doesn't require us
> > to check in things that we can't distribute (like M$ TTF font files) I'm
> > hooking you up with Nicola Ken.  Really what we need is someone who is in
> > the know to hook up with the forrest crowd.  We just use Forrest for our
> > documentation so any real change needs to take place there.  As a bonus it
> > will help a lot of other projects too.
> 
> Yup. Forwarding to forrest-dev.
> 
> -- 
> Nicola Ken Barozzi                   nicolaken@apache.org
>              - verba volant, scripta manent -
>     (discussions get forgotten, just code remains)
> ---------------------------------------------------------------------

-----------------------------------------------------
Tetsuya Kitahata --  Terra-International, Inc.
E-mail: tetsuya@apache.org
http://www.terra-intl.com/
(Apache Jakarta Translation, Japanese)
http://jakarta.terra-intl.com/



Re: Cell value encoding

Posted by "Andrew C. Oliver" <ac...@apache.org>.
On 8/2/03 3:57 AM, "Nicola Ken Barozzi" <ni...@apache.org> wrote:

> 
> Andrew C. Oliver wrote, On 02/08/2003 6.59:
> 
>> On 8/2/03 12:54 AM, "Tetsuya Kitahata" <te...@apache.org> wrote:
>> 
>>> P.S. Andrew, there are many problems building POI-site in
>>> japanese/korean/chinese languages, because the default
>>> lacks the those 3 language's fonts. (in the process of the
>>> creation of PDF files)
>> 
>> I'm speaking from ignorance, but I bet we need a way that doesn't require us
>> to check in things that we can't distribute (like M$ TTF font files) I'm
>> hooking you up with Nicola Ken.  Really what we need is someone who is in
>> the know to hook up with the forrest crowd.  We just use Forrest for our
>> documentation so any real change needs to take place there.  As a bonus it
>> will help a lot of other projects too.
> 
> Yup. Forwarding to forrest-dev.

Thanks man.  I have trouble remember what projects are where these days.  I
appreciate your help.

-- 
Andrew C. Oliver
http://www.superlinksoftware.com/poi.jsp
Custom enhancements and Commercial Implementation for Jakarta POI

http://jakarta.apache.org/poi
For Java and Excel, Got POI?


---------------------------------------------------------------------
To unsubscribe, e-mail: poi-user-unsubscribe@jakarta.apache.org
Mailing List:     http://jakarta.apache.org/site/mail2.html#poi
The Apache Jakarta Poi Project:  http://jakarta.apache.org/poi/


Re: Cell value encoding

Posted by Nicola Ken Barozzi <ni...@apache.org>.
Andrew C. Oliver wrote, On 02/08/2003 6.59:

> On 8/2/03 12:54 AM, "Tetsuya Kitahata" <te...@apache.org> wrote:
> 
>>P.S. Andrew, there are many problems building POI-site in
>>japanese/korean/chinese languages, because the default
>>lacks the those 3 language's fonts. (in the process of the
>>creation of PDF files)
> 
> I'm speaking from ignorance, but I bet we need a way that doesn't require us
> to check in things that we can't distribute (like M$ TTF font files) I'm
> hooking you up with Nicola Ken.  Really what we need is someone who is in
> the know to hook up with the forrest crowd.  We just use Forrest for our
> documentation so any real change needs to take place there.  As a bonus it
> will help a lot of other projects too.

Yup. Forwarding to forrest-dev.

-- 
Nicola Ken Barozzi                   nicolaken@apache.org
             - verba volant, scripta manent -
    (discussions get forgotten, just code remains)
---------------------------------------------------------------------


Re: Cell value encoding

Posted by Nicola Ken Barozzi <ni...@apache.org>.
Andrew C. Oliver wrote, On 02/08/2003 6.59:

> On 8/2/03 12:54 AM, "Tetsuya Kitahata" <te...@apache.org> wrote:
> 
>>P.S. Andrew, there are many problems building POI-site in
>>japanese/korean/chinese languages, because the default
>>lacks the those 3 language's fonts. (in the process of the
>>creation of PDF files)
> 
> I'm speaking from ignorance, but I bet we need a way that doesn't require us
> to check in things that we can't distribute (like M$ TTF font files) I'm
> hooking you up with Nicola Ken.  Really what we need is someone who is in
> the know to hook up with the forrest crowd.  We just use Forrest for our
> documentation so any real change needs to take place there.  As a bonus it
> will help a lot of other projects too.

Yup. Forwarding to forrest-dev.

-- 
Nicola Ken Barozzi                   nicolaken@apache.org
             - verba volant, scripta manent -
    (discussions get forgotten, just code remains)
---------------------------------------------------------------------


---------------------------------------------------------------------
To unsubscribe, e-mail: poi-user-unsubscribe@jakarta.apache.org
Mailing List:     http://jakarta.apache.org/site/mail2.html#poi
The Apache Jakarta Poi Project:  http://jakarta.apache.org/poi/


Re: Cell value encoding

Posted by "Andrew C. Oliver" <ac...@apache.org>.
On 8/2/03 12:54 AM, "Tetsuya Kitahata" <te...@apache.org> wrote:
> 
> P.S. Andrew, there are many problems building POI-site in
> japanese/korean/chinese languages, because the default
> lacks the those 3 language's fonts. (in the process of the
> creation of PDF files)
>

I'm speaking from ignorance, but I bet we need a way that doesn't require us
to check in things that we can't distribute (like M$ TTF font files) I'm
hooking you up with Nicola Ken.  Really what we need is someone who is in
the know to hook up with the forrest crowd.  We just use Forrest for our
documentation so any real change needs to take place there.  As a bonus it
will help a lot of other projects too.
 
> On Sat, 02 Aug 2003 00:43:31 -0400
> (Subject: Re: Cell value encoding)
> "Andrew C. Oliver" <ac...@apache.org> wrote:
> 
>> Sure!  If you can write something up just kind of explaining what POI is,
>> how to use it, the character encoding issue, etc that would be awesome.  An
>> article or how to, or something like that.  We'll publish it here and give
>> you accords. 
>> 
>> If you want to do it as part of the site, just do it in the "xdoc" format
>> that all the existing docuemntation is in.  Its basically XML.  See here:
>> http://cvs.apache.org/viewcvs/jakarta-poi/src/documentation/content/xdocs/
>> 
>> Tetsuya Kitahata can probably give you a few pointers with the encoding and
>> the such.
>> 
>> -andy
>> 
>> On 8/1/03 11:42 PM, "Xuemin Guan" <xu...@appresso.com> wrote:
>> 
>>> Hello, Andy, surely I can do this. It is my pleasure if I can contribute
>>> a bit to the POI project. Could you please point me a way of how do this?
>>> 
>>> Thanks,
>>> 
>>> Xuemin
>>> 
>>> ----- Original Message -----
>>> From: "Andrew C. Oliver" <ac...@apache.org>
>>> To: "POI Users List" <po...@jakarta.apache.org>
>>> Sent: Saturday, August 02, 2003 2:17 AM
>>> Subject: Re: Cell value encoding
>>> 
>>> 
>>>> Yeah man.  Pass the word along BTW.  If you can publish any non-english
>>>> documentation on this it would sure help us out a lot.  We can always help
>>>> with hosting it.
>>>> 
>>>> Thanks,
>>>> 
>>>> Andy
>>>> 
>>>> On 8/1/03 1:12 PM, "Xuemin Guan" <xu...@appresso.com> wrote:
>>>> 
>>>>> Hello, Andy, thanks a lot for the note!
>>>>> 
>>>>> Best,
>>>>> 
>>>>> Xuemin
>>>>> 
>>>>> ----- Original Message -----
>>>>> From: "Andrew C. Oliver" <ac...@apache.org>
>>>>> To: "POI Users List" <po...@jakarta.apache.org>
>>>>> Sent: Friday, August 01, 2003 10:31 PM
>>>>> Subject: Re: Cell value encoding
>>>>> 
>>>>> 
>>>>>> You did the right thing.  The UTF_16 is a misnomer carried from the
>>>>> earliest
>>>>>> versions of POI.  In 3.0 these will be renamed to "EIGHT_BIT_CSET and
>>>>>> SIXTEEN_BIT_CSET" or something.  The first case is useful only for US
>>>>>> character sets.  The only problem is how to name this concisely and
>>>>> clearly
>>>>>> (because there are some eight bit character sets that excel writes in 2
>>>>>> bytes because Excel is a silly format).
>>>>>> 
>>>>>> -Andy
>>>>>> 
>>>>>> 
>>>>>> On 8/1/03 2:31 AM, "Xuemin Guan" <xu...@appresso.com> wrote:
>>>>>> 
>>>>>>> Hello, dear all, I am having some problems dealding with
>>>>>>> Japanese Characters. I set up a cell value as this:
>>>>>>> cell.setCellValue("some Japanese characters go here");
>>>>>>> 
>>>>>>> And I end up with wrong values in the generated XLS file.
>>>>>>> 
>>>>>>> Then I looked up the POI API and souce code, and did the follow:
>>>>>>> 
>>>>>>> cell.setEncoding((short)1);//Using UTF_16
>>>>>>> cell.setCellValue("some Japanese characters go here");
>>>>>>> 
>>>>>>> Then it worked fine. But I am not sure if this is the
>>>>>>> right thing to do. Doesn't the POI/Excel supports something
>>>>>>> like setting up the encoding using Shift_JS, ISO-8859-1
>>>>>>> these stuff? Or I only have a choice between
>>>>>>> ENCODING_COMPRESSED_UNICODE and or ENCODING_UTF_16?
>>>>>>> And the thing I did was just right?
>>>>>>> 
>>>>>>> Any hint will be highly appreciated.
>>>>>>> 
>>>>>>> Best,
>>>>>>> 
>>>>>>> Xuemin
> 
> 
> -----------------------------------------------------
> Tetsuya Kitahata --  Terra-International, Inc.
> E-mail: tetsuya@apache.org
> http://www.terra-intl.com/
> (Apache Jakarta Translation, Japanese)
> http://jakarta.terra-intl.com/
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: poi-user-unsubscribe@jakarta.apache.org
> Mailing List:     http://jakarta.apache.org/site/mail2.html#poi
> The Apache Jakarta Poi Project:  http://jakarta.apache.org/poi/
> 

-- 
Andrew C. Oliver
http://www.superlinksoftware.com/poi.jsp
Custom enhancements and Commercial Implementation for Jakarta POI

http://jakarta.apache.org/poi
For Java and Excel, Got POI?


---------------------------------------------------------------------
To unsubscribe, e-mail: poi-user-unsubscribe@jakarta.apache.org
Mailing List:     http://jakarta.apache.org/site/mail2.html#poi
The Apache Jakarta Poi Project:  http://jakarta.apache.org/poi/


Re: Cell value encoding

Posted by Tetsuya Kitahata <te...@apache.org>.
Yes, sure.

I know that appresso is a japanese company (because my company is 
also listed up to the "Opensource Technology Alliance"), however,
I am not sure which language you (Mr. Xuemin Guan) often use.

I think I can help you in some points.

Thank you.

-- Tetsuya (tetsuya@apache.org)

P.S. Andrew, there are many problems building POI-site in
japanese/korean/chinese languages, because the default
lacks the those 3 language's fonts. (in the process of the
creation of PDF files)

On Sat, 02 Aug 2003 00:43:31 -0400
(Subject: Re: Cell value encoding)
"Andrew C. Oliver" <ac...@apache.org> wrote:

> Sure!  If you can write something up just kind of explaining what POI is,
> how to use it, the character encoding issue, etc that would be awesome.  An
> article or how to, or something like that.  We'll publish it here and give
> you accords. 
> 
> If you want to do it as part of the site, just do it in the "xdoc" format
> that all the existing docuemntation is in.  Its basically XML.  See here:
> http://cvs.apache.org/viewcvs/jakarta-poi/src/documentation/content/xdocs/
> 
> Tetsuya Kitahata can probably give you a few pointers with the encoding and
> the such.
> 
> -andy
> 
> On 8/1/03 11:42 PM, "Xuemin Guan" <xu...@appresso.com> wrote:
> 
> > Hello, Andy, surely I can do this. It is my pleasure if I can contribute
> > a bit to the POI project. Could you please point me a way of how do this?
> > 
> > Thanks,
> > 
> > Xuemin
> > 
> > ----- Original Message -----
> > From: "Andrew C. Oliver" <ac...@apache.org>
> > To: "POI Users List" <po...@jakarta.apache.org>
> > Sent: Saturday, August 02, 2003 2:17 AM
> > Subject: Re: Cell value encoding
> > 
> > 
> >> Yeah man.  Pass the word along BTW.  If you can publish any non-english
> >> documentation on this it would sure help us out a lot.  We can always help
> >> with hosting it.
> >> 
> >> Thanks,
> >> 
> >> Andy
> >> 
> >> On 8/1/03 1:12 PM, "Xuemin Guan" <xu...@appresso.com> wrote:
> >> 
> >>> Hello, Andy, thanks a lot for the note!
> >>> 
> >>> Best,
> >>> 
> >>> Xuemin
> >>> 
> >>> ----- Original Message -----
> >>> From: "Andrew C. Oliver" <ac...@apache.org>
> >>> To: "POI Users List" <po...@jakarta.apache.org>
> >>> Sent: Friday, August 01, 2003 10:31 PM
> >>> Subject: Re: Cell value encoding
> >>> 
> >>> 
> >>>> You did the right thing.  The UTF_16 is a misnomer carried from the
> >>> earliest
> >>>> versions of POI.  In 3.0 these will be renamed to "EIGHT_BIT_CSET and
> >>>> SIXTEEN_BIT_CSET" or something.  The first case is useful only for US
> >>>> character sets.  The only problem is how to name this concisely and
> >>> clearly
> >>>> (because there are some eight bit character sets that excel writes in 2
> >>>> bytes because Excel is a silly format).
> >>>> 
> >>>> -Andy
> >>>> 
> >>>> 
> >>>> On 8/1/03 2:31 AM, "Xuemin Guan" <xu...@appresso.com> wrote:
> >>>> 
> >>>>> Hello, dear all, I am having some problems dealding with
> >>>>> Japanese Characters. I set up a cell value as this:
> >>>>> cell.setCellValue("some Japanese characters go here");
> >>>>> 
> >>>>> And I end up with wrong values in the generated XLS file.
> >>>>> 
> >>>>> Then I looked up the POI API and souce code, and did the follow:
> >>>>> 
> >>>>> cell.setEncoding((short)1);//Using UTF_16
> >>>>> cell.setCellValue("some Japanese characters go here");
> >>>>> 
> >>>>> Then it worked fine. But I am not sure if this is the
> >>>>> right thing to do. Doesn't the POI/Excel supports something
> >>>>> like setting up the encoding using Shift_JS, ISO-8859-1
> >>>>> these stuff? Or I only have a choice between
> >>>>> ENCODING_COMPRESSED_UNICODE and or ENCODING_UTF_16?
> >>>>> And the thing I did was just right?
> >>>>> 
> >>>>> Any hint will be highly appreciated.
> >>>>> 
> >>>>> Best,
> >>>>> 
> >>>>> Xuemin


-----------------------------------------------------
Tetsuya Kitahata --  Terra-International, Inc.
E-mail: tetsuya@apache.org
http://www.terra-intl.com/
(Apache Jakarta Translation, Japanese)
http://jakarta.terra-intl.com/



---------------------------------------------------------------------
To unsubscribe, e-mail: poi-user-unsubscribe@jakarta.apache.org
Mailing List:     http://jakarta.apache.org/site/mail2.html#poi
The Apache Jakarta Poi Project:  http://jakarta.apache.org/poi/


Re: Cell value encoding

Posted by "Andrew C. Oliver" <ac...@apache.org>.
Sure!  If you can write something up just kind of explaining what POI is,
how to use it, the character encoding issue, etc that would be awesome.  An
article or how to, or something like that.  We'll publish it here and give
you accords. 

If you want to do it as part of the site, just do it in the "xdoc" format
that all the existing docuemntation is in.  Its basically XML.  See here:
http://cvs.apache.org/viewcvs/jakarta-poi/src/documentation/content/xdocs/

Tetsuya Kitahata can probably give you a few pointers with the encoding and
the such.

-andy

On 8/1/03 11:42 PM, "Xuemin Guan" <xu...@appresso.com> wrote:

> Hello, Andy, surely I can do this. It is my pleasure if I can contribute
> a bit to the POI project. Could you please point me a way of how do this?
> 
> Thanks,
> 
> Xuemin
> 
> ----- Original Message -----
> From: "Andrew C. Oliver" <ac...@apache.org>
> To: "POI Users List" <po...@jakarta.apache.org>
> Sent: Saturday, August 02, 2003 2:17 AM
> Subject: Re: Cell value encoding
> 
> 
>> Yeah man.  Pass the word along BTW.  If you can publish any non-english
>> documentation on this it would sure help us out a lot.  We can always help
>> with hosting it.
>> 
>> Thanks,
>> 
>> Andy
>> 
>> On 8/1/03 1:12 PM, "Xuemin Guan" <xu...@appresso.com> wrote:
>> 
>>> Hello, Andy, thanks a lot for the note!
>>> 
>>> Best,
>>> 
>>> Xuemin
>>> 
>>> ----- Original Message -----
>>> From: "Andrew C. Oliver" <ac...@apache.org>
>>> To: "POI Users List" <po...@jakarta.apache.org>
>>> Sent: Friday, August 01, 2003 10:31 PM
>>> Subject: Re: Cell value encoding
>>> 
>>> 
>>>> You did the right thing.  The UTF_16 is a misnomer carried from the
>>> earliest
>>>> versions of POI.  In 3.0 these will be renamed to "EIGHT_BIT_CSET and
>>>> SIXTEEN_BIT_CSET" or something.  The first case is useful only for US
>>>> character sets.  The only problem is how to name this concisely and
>>> clearly
>>>> (because there are some eight bit character sets that excel writes in 2
>>>> bytes because Excel is a silly format).
>>>> 
>>>> -Andy
>>>> 
>>>> 
>>>> On 8/1/03 2:31 AM, "Xuemin Guan" <xu...@appresso.com> wrote:
>>>> 
>>>>> Hello, dear all, I am having some problems dealding with
>>>>> Japanese Characters. I set up a cell value as this:
>>>>> cell.setCellValue("some Japanese characters go here");
>>>>> 
>>>>> And I end up with wrong values in the generated XLS file.
>>>>> 
>>>>> Then I looked up the POI API and souce code, and did the follow:
>>>>> 
>>>>> cell.setEncoding((short)1);//Using UTF_16
>>>>> cell.setCellValue("some Japanese characters go here");
>>>>> 
>>>>> Then it worked fine. But I am not sure if this is the
>>>>> right thing to do. Doesn't the POI/Excel supports something
>>>>> like setting up the encoding using Shift_JS, ISO-8859-1
>>>>> these stuff? Or I only have a choice between
>>>>> ENCODING_COMPRESSED_UNICODE and or ENCODING_UTF_16?
>>>>> And the thing I did was just right?
>>>>> 
>>>>> Any hint will be highly appreciated.
>>>>> 
>>>>> Best,
>>>>> 
>>>>> Xuemin
>>>>> 
>>>>> 
>>>>> ---------------------------------------------------------------------
>>>>> To unsubscribe, e-mail: poi-user-unsubscribe@jakarta.apache.org
>>>>> Mailing List:     http://jakarta.apache.org/site/mail2.html#poi
>>>>> The Apache Jakarta Poi Project:  http://jakarta.apache.org/poi/
>>>>> 
>>>> 
>>>> -- 
>>>> Andrew C. Oliver
>>>> http://www.superlinksoftware.com/poi.jsp
>>>> Custom enhancements and Commercial Implementation for Jakarta POI
>>>> 
>>>> http://jakarta.apache.org/poi
>>>> For Java and Excel, Got POI?
>>>> 
>>>> 
>>>> ---------------------------------------------------------------------
>>>> To unsubscribe, e-mail: poi-user-unsubscribe@jakarta.apache.org
>>>> Mailing List:     http://jakarta.apache.org/site/mail2.html#poi
>>>> The Apache Jakarta Poi Project:  http://jakarta.apache.org/poi/
>>>> 
>>>> 
>>> 
>>> 
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: poi-user-unsubscribe@jakarta.apache.org
>>> Mailing List:     http://jakarta.apache.org/site/mail2.html#poi
>>> The Apache Jakarta Poi Project:  http://jakarta.apache.org/poi/
>>> 
>> 
>> -- 
>> Andrew C. Oliver
>> http://www.superlinksoftware.com/poi.jsp
>> Custom enhancements and Commercial Implementation for Jakarta POI
>> 
>> http://jakarta.apache.org/poi
>> For Java and Excel, Got POI?
>> 
>> 
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: poi-user-unsubscribe@jakarta.apache.org
>> Mailing List:     http://jakarta.apache.org/site/mail2.html#poi
>> The Apache Jakarta Poi Project:  http://jakarta.apache.org/poi/
>> 
>> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: poi-user-unsubscribe@jakarta.apache.org
> Mailing List:     http://jakarta.apache.org/site/mail2.html#poi
> The Apache Jakarta Poi Project:  http://jakarta.apache.org/poi/
> 

-- 
Andrew C. Oliver
http://www.superlinksoftware.com/poi.jsp
Custom enhancements and Commercial Implementation for Jakarta POI

http://jakarta.apache.org/poi
For Java and Excel, Got POI?


---------------------------------------------------------------------
To unsubscribe, e-mail: poi-user-unsubscribe@jakarta.apache.org
Mailing List:     http://jakarta.apache.org/site/mail2.html#poi
The Apache Jakarta Poi Project:  http://jakarta.apache.org/poi/


Re: Cell value encoding

Posted by Xuemin Guan <xu...@appresso.com>.
Hello, Andy, surely I can do this. It is my pleasure if I can contribute
a bit to the POI project. Could you please point me a way of how do this?

Thanks,

Xuemin

----- Original Message ----- 
From: "Andrew C. Oliver" <ac...@apache.org>
To: "POI Users List" <po...@jakarta.apache.org>
Sent: Saturday, August 02, 2003 2:17 AM
Subject: Re: Cell value encoding


> Yeah man.  Pass the word along BTW.  If you can publish any non-english
> documentation on this it would sure help us out a lot.  We can always help
> with hosting it.
>
> Thanks,
>
> Andy
>
> On 8/1/03 1:12 PM, "Xuemin Guan" <xu...@appresso.com> wrote:
>
> > Hello, Andy, thanks a lot for the note!
> >
> > Best,
> >
> > Xuemin
> >
> > ----- Original Message -----
> > From: "Andrew C. Oliver" <ac...@apache.org>
> > To: "POI Users List" <po...@jakarta.apache.org>
> > Sent: Friday, August 01, 2003 10:31 PM
> > Subject: Re: Cell value encoding
> >
> >
> >> You did the right thing.  The UTF_16 is a misnomer carried from the
> > earliest
> >> versions of POI.  In 3.0 these will be renamed to "EIGHT_BIT_CSET and
> >> SIXTEEN_BIT_CSET" or something.  The first case is useful only for US
> >> character sets.  The only problem is how to name this concisely and
> > clearly
> >> (because there are some eight bit character sets that excel writes in 2
> >> bytes because Excel is a silly format).
> >>
> >> -Andy
> >>
> >>
> >> On 8/1/03 2:31 AM, "Xuemin Guan" <xu...@appresso.com> wrote:
> >>
> >>> Hello, dear all, I am having some problems dealding with
> >>> Japanese Characters. I set up a cell value as this:
> >>> cell.setCellValue("some Japanese characters go here");
> >>>
> >>> And I end up with wrong values in the generated XLS file.
> >>>
> >>> Then I looked up the POI API and souce code, and did the follow:
> >>>
> >>> cell.setEncoding((short)1);//Using UTF_16
> >>> cell.setCellValue("some Japanese characters go here");
> >>>
> >>> Then it worked fine. But I am not sure if this is the
> >>> right thing to do. Doesn't the POI/Excel supports something
> >>> like setting up the encoding using Shift_JS, ISO-8859-1
> >>> these stuff? Or I only have a choice between
> >>> ENCODING_COMPRESSED_UNICODE and or ENCODING_UTF_16?
> >>> And the thing I did was just right?
> >>>
> >>> Any hint will be highly appreciated.
> >>>
> >>> Best,
> >>>
> >>> Xuemin
> >>>
> >>>
> >>> ---------------------------------------------------------------------
> >>> To unsubscribe, e-mail: poi-user-unsubscribe@jakarta.apache.org
> >>> Mailing List:     http://jakarta.apache.org/site/mail2.html#poi
> >>> The Apache Jakarta Poi Project:  http://jakarta.apache.org/poi/
> >>>
> >>
> >> -- 
> >> Andrew C. Oliver
> >> http://www.superlinksoftware.com/poi.jsp
> >> Custom enhancements and Commercial Implementation for Jakarta POI
> >>
> >> http://jakarta.apache.org/poi
> >> For Java and Excel, Got POI?
> >>
> >>
> >> ---------------------------------------------------------------------
> >> To unsubscribe, e-mail: poi-user-unsubscribe@jakarta.apache.org
> >> Mailing List:     http://jakarta.apache.org/site/mail2.html#poi
> >> The Apache Jakarta Poi Project:  http://jakarta.apache.org/poi/
> >>
> >>
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: poi-user-unsubscribe@jakarta.apache.org
> > Mailing List:     http://jakarta.apache.org/site/mail2.html#poi
> > The Apache Jakarta Poi Project:  http://jakarta.apache.org/poi/
> >
>
> -- 
> Andrew C. Oliver
> http://www.superlinksoftware.com/poi.jsp
> Custom enhancements and Commercial Implementation for Jakarta POI
>
> http://jakarta.apache.org/poi
> For Java and Excel, Got POI?
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: poi-user-unsubscribe@jakarta.apache.org
> Mailing List:     http://jakarta.apache.org/site/mail2.html#poi
> The Apache Jakarta Poi Project:  http://jakarta.apache.org/poi/
>
>


---------------------------------------------------------------------
To unsubscribe, e-mail: poi-user-unsubscribe@jakarta.apache.org
Mailing List:     http://jakarta.apache.org/site/mail2.html#poi
The Apache Jakarta Poi Project:  http://jakarta.apache.org/poi/


Re: Cell value encoding

Posted by "Andrew C. Oliver" <ac...@apache.org>.
Yeah man.  Pass the word along BTW.  If you can publish any non-english
documentation on this it would sure help us out a lot.  We can always help
with hosting it.

Thanks,

Andy

On 8/1/03 1:12 PM, "Xuemin Guan" <xu...@appresso.com> wrote:

> Hello, Andy, thanks a lot for the note!
> 
> Best,
> 
> Xuemin
> 
> ----- Original Message -----
> From: "Andrew C. Oliver" <ac...@apache.org>
> To: "POI Users List" <po...@jakarta.apache.org>
> Sent: Friday, August 01, 2003 10:31 PM
> Subject: Re: Cell value encoding
> 
> 
>> You did the right thing.  The UTF_16 is a misnomer carried from the
> earliest
>> versions of POI.  In 3.0 these will be renamed to "EIGHT_BIT_CSET and
>> SIXTEEN_BIT_CSET" or something.  The first case is useful only for US
>> character sets.  The only problem is how to name this concisely and
> clearly
>> (because there are some eight bit character sets that excel writes in 2
>> bytes because Excel is a silly format).
>> 
>> -Andy
>> 
>> 
>> On 8/1/03 2:31 AM, "Xuemin Guan" <xu...@appresso.com> wrote:
>> 
>>> Hello, dear all, I am having some problems dealding with
>>> Japanese Characters. I set up a cell value as this:
>>> cell.setCellValue("some Japanese characters go here");
>>> 
>>> And I end up with wrong values in the generated XLS file.
>>> 
>>> Then I looked up the POI API and souce code, and did the follow:
>>> 
>>> cell.setEncoding((short)1);//Using UTF_16
>>> cell.setCellValue("some Japanese characters go here");
>>> 
>>> Then it worked fine. But I am not sure if this is the
>>> right thing to do. Doesn't the POI/Excel supports something
>>> like setting up the encoding using Shift_JS, ISO-8859-1
>>> these stuff? Or I only have a choice between
>>> ENCODING_COMPRESSED_UNICODE and or ENCODING_UTF_16?
>>> And the thing I did was just right?
>>> 
>>> Any hint will be highly appreciated.
>>> 
>>> Best,
>>> 
>>> Xuemin
>>> 
>>> 
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: poi-user-unsubscribe@jakarta.apache.org
>>> Mailing List:     http://jakarta.apache.org/site/mail2.html#poi
>>> The Apache Jakarta Poi Project:  http://jakarta.apache.org/poi/
>>> 
>> 
>> -- 
>> Andrew C. Oliver
>> http://www.superlinksoftware.com/poi.jsp
>> Custom enhancements and Commercial Implementation for Jakarta POI
>> 
>> http://jakarta.apache.org/poi
>> For Java and Excel, Got POI?
>> 
>> 
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: poi-user-unsubscribe@jakarta.apache.org
>> Mailing List:     http://jakarta.apache.org/site/mail2.html#poi
>> The Apache Jakarta Poi Project:  http://jakarta.apache.org/poi/
>> 
>> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: poi-user-unsubscribe@jakarta.apache.org
> Mailing List:     http://jakarta.apache.org/site/mail2.html#poi
> The Apache Jakarta Poi Project:  http://jakarta.apache.org/poi/
> 

-- 
Andrew C. Oliver
http://www.superlinksoftware.com/poi.jsp
Custom enhancements and Commercial Implementation for Jakarta POI

http://jakarta.apache.org/poi
For Java and Excel, Got POI?


---------------------------------------------------------------------
To unsubscribe, e-mail: poi-user-unsubscribe@jakarta.apache.org
Mailing List:     http://jakarta.apache.org/site/mail2.html#poi
The Apache Jakarta Poi Project:  http://jakarta.apache.org/poi/


Re: Cell value encoding

Posted by Xuemin Guan <xu...@appresso.com>.
Hello, Andy, thanks a lot for the note!

Best,

Xuemin

----- Original Message ----- 
From: "Andrew C. Oliver" <ac...@apache.org>
To: "POI Users List" <po...@jakarta.apache.org>
Sent: Friday, August 01, 2003 10:31 PM
Subject: Re: Cell value encoding


> You did the right thing.  The UTF_16 is a misnomer carried from the
earliest
> versions of POI.  In 3.0 these will be renamed to "EIGHT_BIT_CSET and
> SIXTEEN_BIT_CSET" or something.  The first case is useful only for US
> character sets.  The only problem is how to name this concisely and
clearly
> (because there are some eight bit character sets that excel writes in 2
> bytes because Excel is a silly format).
>
> -Andy
>
>
> On 8/1/03 2:31 AM, "Xuemin Guan" <xu...@appresso.com> wrote:
>
> > Hello, dear all, I am having some problems dealding with
> > Japanese Characters. I set up a cell value as this:
> > cell.setCellValue("some Japanese characters go here");
> >
> > And I end up with wrong values in the generated XLS file.
> >
> > Then I looked up the POI API and souce code, and did the follow:
> >
> > cell.setEncoding((short)1);//Using UTF_16
> > cell.setCellValue("some Japanese characters go here");
> >
> > Then it worked fine. But I am not sure if this is the
> > right thing to do. Doesn't the POI/Excel supports something
> > like setting up the encoding using Shift_JS, ISO-8859-1
> > these stuff? Or I only have a choice between
> > ENCODING_COMPRESSED_UNICODE and or ENCODING_UTF_16?
> > And the thing I did was just right?
> >
> > Any hint will be highly appreciated.
> >
> > Best,
> >
> > Xuemin
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: poi-user-unsubscribe@jakarta.apache.org
> > Mailing List:     http://jakarta.apache.org/site/mail2.html#poi
> > The Apache Jakarta Poi Project:  http://jakarta.apache.org/poi/
> >
>
> -- 
> Andrew C. Oliver
> http://www.superlinksoftware.com/poi.jsp
> Custom enhancements and Commercial Implementation for Jakarta POI
>
> http://jakarta.apache.org/poi
> For Java and Excel, Got POI?
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: poi-user-unsubscribe@jakarta.apache.org
> Mailing List:     http://jakarta.apache.org/site/mail2.html#poi
> The Apache Jakarta Poi Project:  http://jakarta.apache.org/poi/
>
>


---------------------------------------------------------------------
To unsubscribe, e-mail: poi-user-unsubscribe@jakarta.apache.org
Mailing List:     http://jakarta.apache.org/site/mail2.html#poi
The Apache Jakarta Poi Project:  http://jakarta.apache.org/poi/


Re: Cell value encoding

Posted by "Andrew C. Oliver" <ac...@apache.org>.
You did the right thing.  The UTF_16 is a misnomer carried from the earliest
versions of POI.  In 3.0 these will be renamed to "EIGHT_BIT_CSET and
SIXTEEN_BIT_CSET" or something.  The first case is useful only for US
character sets.  The only problem is how to name this concisely and clearly
(because there are some eight bit character sets that excel writes in 2
bytes because Excel is a silly format).

-Andy


On 8/1/03 2:31 AM, "Xuemin Guan" <xu...@appresso.com> wrote:

> Hello, dear all, I am having some problems dealding with
> Japanese Characters. I set up a cell value as this:
> cell.setCellValue("some Japanese characters go here");
> 
> And I end up with wrong values in the generated XLS file.
> 
> Then I looked up the POI API and souce code, and did the follow:
> 
> cell.setEncoding((short)1);//Using UTF_16
> cell.setCellValue("some Japanese characters go here");
> 
> Then it worked fine. But I am not sure if this is the
> right thing to do. Doesn't the POI/Excel supports something
> like setting up the encoding using Shift_JS, ISO-8859-1
> these stuff? Or I only have a choice between
> ENCODING_COMPRESSED_UNICODE and or ENCODING_UTF_16?
> And the thing I did was just right?
> 
> Any hint will be highly appreciated.
> 
> Best,
> 
> Xuemin
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: poi-user-unsubscribe@jakarta.apache.org
> Mailing List:     http://jakarta.apache.org/site/mail2.html#poi
> The Apache Jakarta Poi Project:  http://jakarta.apache.org/poi/
> 

-- 
Andrew C. Oliver
http://www.superlinksoftware.com/poi.jsp
Custom enhancements and Commercial Implementation for Jakarta POI

http://jakarta.apache.org/poi
For Java and Excel, Got POI?


---------------------------------------------------------------------
To unsubscribe, e-mail: poi-user-unsubscribe@jakarta.apache.org
Mailing List:     http://jakarta.apache.org/site/mail2.html#poi
The Apache Jakarta Poi Project:  http://jakarta.apache.org/poi/