RE: character encoding and charsets

2007-05-09 Thread Justin Warren
set id for internal data. They are fields' field_11 and field_12 respectively. Is there any documentation on what these fields are, or their mappings? thanks -Original Message----- From: Justin Warren Sent: Thursday, May 03, 2007 11:56 AM To: POI Users List Subject: character encodi

character encoding and charsets

2007-05-03 Thread Justin Warren
Hi guys.. I have an interesting problem. I am using POI to extract text from a word doc. (word 2000/03 usually). But the document is written in Chinese. So naturally, when I write the extracted text to a plaintext file, I get random ascii characters. So, I want to be able to decode the charset

RE: Please help - unknown grbit '16'

2007-04-24 Thread Justin Warren
I get a similar error when I attempt to read a password protected Excel file. I'm not sure if that's what you have, but it's a possibility. -Original Message- From: Sara Uppalapati [mailto:[EMAIL PROTECTED] Sent: Tuesday, April 24, 2007 2:53 PM To: poi-user@jakarta.apache.org Subject: Ple

RE: Encryption/password protected excel/word files

2007-04-17 Thread Justin Warren
I should mention that the exceptions don't really tell if the files are password protected or not. For word, I catch an ArrayIndexOutOfBoundsException, or java.lang.NegativeArraySizeException. I'm guessing that is not the expected behaviour. thanks -Original Message----- From: Jus

Encryption/password protected excel/word files

2007-04-16 Thread Justin Warren
Hi all, I am trying to detect if a file is password protected before reading it (ie, if it is password protected, I want to ignore it). Right now, I am just catching exceptions that get thrown, but I was wondering if there was another way of doing this. Thanks