poi-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Avik Sengupta <avik.sengu...@itellix.com>
Subject Re: Euro symbol within text
Date Wed, 09 Mar 2005 11:58:11 GMT
have you tried cell.setCellEncoding()...

On Wed, 2005-03-09 at 12:55 +0100, Francesco Vivoli wrote:
> Hi all,
> I'm able to insert a numeric value in a cell
> with the U+20AC code attached through
> 
> df = format.getFormat(...);
> cell.setFormat(df);
> 
> Nevertheless after digging the archive for a while
> I haven't come up with a solution for displaying this
> "€" within a string, i.e
> "this is a string with € and some more"
> 
> Even creating the sheet with
>         HSSFSheet        s    = wb.createSheet();
>         wb.setSheetName(0,"title",HSSFWorkbook.ENCODING_UTF_16);
> 
> inserting the symbol doesn't work and neither it does
> if inserting \u20ac within the text.
> I think I have an idea of why it doesn't work, the only issue
> here is that i am still missing the solution...All I get is
> a negative logic sign.
> 
> I really hope that solution is near, and I would really apreciate
> if someone here could enlight me.
> Thanks,
> Francesco
> 
> 
> 
> 
> ---------------------------------------------------------------------
> 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/


Mime
View raw message