[prev in list] [next in list] [prev in thread] [next in thread]
List: hsql-user
Subject: [hsql-user] StringConverter.java bug
From: Takashi SHIODA <tsio () orangesoft ! co ! jp>
Date: 2000-03-21 8:39:02
[Download RAW message or body]
hello.
HypersonicSQL 1.3 bug?
[problem]
1.using standalone mode.
2.insert into table(str)
values ('some Japanese unicode kanji character string');
3.shutdown and restart.
4.select * from table;
(unicode strings are broken.)
[patch]
StringConverter.java
line:110
-1.3_original_code-->
k=(HEXINDEX.indexOf(s.charAt(++i))&0xf)<<4;
<-1.3_original_code-
-1.3_patched_code-->
k+=(HEXINDEX.indexOf(s.charAt(++i))&0xf)<<4;
<-1.3_patched_code-
Sincerely yours.
--
Takashi SHIODA
tsio@orangesoft.co.jp
http://www.orangesoft.co.jp
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic