cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrew C. Oliver" <>
Subject Re: [Fwd: Encoding in HSSF (XLS) Serializer]
Date Mon, 19 Aug 2002 17:10:20 GMT
Within the cocoon sources under 
where it says:

        else if (_cell.getCellType() == HSSFCell.CELL_TYPE_STRING)
        } else if (_cell.getCellType() == HSSFCell.CELL_TYPE_FORMULA) {

you need to add:

If you want this to be a committable patch, then check for the local 
flag.  If its not us, uk or whatever the abbreviation for austrailia is, 
set it to UTF 16, otherwise set it to: |ENCODING_COMPRESSED_UNICODE| 

For further explanation see:

If you don't do it, I'll get around to it very soon.


Hiloliddin Karimov wrote:

>Hi Andrew,
><map:serializer name="xls"
>mime-type="application/" locale="ru"/>
>I want made some changes to HSSF for encoding.
>I don't understand what I should set and where I can get encoding mode or
>Suppose I get encoding mode from Configuration but where source for
>void setEncoding( ???? ) {
>   ????
>pls explain bit more.
>Thanks a lot,
>-----Original Message-----
>From: Andrew C. Oliver [] 
>Sent: Saturday, August 17, 2002 6:42 PM
>To: Hiloliddin Karimov
>Subject: Re: [Fwd: Encoding in HSSF (XLS) Serializer]
>Hiloliddin Karimov wrote:
>>Hi Andrew,
>>So how I can solve my problem.
>>Is possible show cyrillic characters in Excel by use HSSF (XLS) 
>>Thanks a lot,
>If you make some minor changes to the HSSF Serializer, yes.  Otherwise 
>you'll have to wait for me to do it.
>Not that you should care, but using them makes the sheet incompatible 
>with gnumeric.  
>All that needs to be done is if the "locale" flag is not 
>us/uk/austrailia then do the "setEncoding" flag in the underlying HSSF API.
>Please, file a bug against Cocoon it doesn't fall through the cracks.

To unsubscribe, e-mail:
For additional commands, email:

View raw message