From 26c0e71d744515fc38aabd6a2bb768b8655c2cd7 Mon Sep 17 00:00:00 2001 From: Jason Height Date: Tue, 17 Jan 2006 09:08:23 +0000 Subject: [PATCH] BUG 38230 Fixed. Confirmed that the typecast from byte to char caused errors. Added testcase. git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@369729 13f79535-47bb-0310-9956-ffa450edef68 --- .../poi/hssf/record/RecordInputStream.java | 5 ++- .../apache/poi/hssf/record/UnicodeString.java | 10 +++--- .../hssf/usermodel/TestUnicodeWorkbook.java | 36 +++++++++++++++++++ 3 files changed, 46 insertions(+), 5 deletions(-) diff --git a/src/java/org/apache/poi/hssf/record/RecordInputStream.java b/src/java/org/apache/poi/hssf/record/RecordInputStream.java index 17c98763a4..00c9200d5b 100755 --- a/src/java/org/apache/poi/hssf/record/RecordInputStream.java +++ b/src/java/org/apache/poi/hssf/record/RecordInputStream.java @@ -249,7 +249,10 @@ public class RecordInputStream extends InputStream for (int i=0;i