Return-Path: Mailing-List: contact poi-dev-help@jakarta.apache.org; run by ezmlm Delivered-To: mailing list poi-dev@jakarta.apache.org Received: (qmail 15858 invoked by uid 98); 11 Dec 2002 19:14:32 -0000 X-Antivirus: nagoya (v4218 created Aug 14 2002) Received: (qmail 15837 invoked from network); 11 Dec 2002 19:14:30 -0000 Received: from daedalus.apache.org (HELO apache.org) (63.251.56.142) by nagoya.betaversion.org with SMTP; 11 Dec 2002 19:14:30 -0000 Received: (qmail 61241 invoked by uid 500); 11 Dec 2002 19:13:17 -0000 Received: (qmail 61233 invoked from network); 11 Dec 2002 19:13:17 -0000 Received: from mail.coolgoose.com (216.38.24.21) by daedalus.apache.org with SMTP; 11 Dec 2002 19:13:17 -0000 Received: from www.coolgoose.com (monster [216.38.24.20]) by mail.coolgoose.com (8.9.1/8.9.1) with SMTP id OAA10062 for poi-dev@jakarta.apache.org; Wed, 11 Dec 2002 14:18:16 -0500 Message-Id: <200212111918.OAA10062@mail.coolgoose.com> From: "D. Alvarado" To: poi-dev@jakarta.apache.org Subject: HSSF: writing special characters doesn't work! Date: Wed, 11 Dec 2002 14:09:07 -0500 X-Mailer: mcDesktop v0.9.1; Copyright (c) 2001-2002 Multiboard Communications Inc. X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Hi, Does anyone know of a bug (and maybe it's fixed now and I'm using an old version of HSSF) such that when you try to write special characters (characters with ascii values >= 128) to a cell in an Excel file, the characters just appeared as a square? Here's a snippet of the code I used: HSSFCell cell; ... // create cell ... char specialChar = (char) 146; String cellText = specialChar + ""; cell.setCellValue(cellText); // appears as a square when I open // the XLS document1 If this is a bug does anyone know of a work-around where I can get special characters to appear? Thanks, Dave