Summary: | [PATCH] HSSFHeader and HSSFFooter doesnot support DBCS | ||
---|---|---|---|
Product: | POI | Reporter: | Toshiaki Kamoshida <kamoshida.toshiaki> |
Component: | HSSF | Assignee: | POI Developers List <dev> |
Status: | RESOLVED FIXED | ||
Severity: | normal | ||
Priority: | P1 | ||
Version: | 2.0-pre3 | ||
Target Milestone: | --- | ||
Hardware: | All | ||
OS: | other | ||
Attachments: |
Testcase for this problem.
PATCH for this probrem. I resubmit testcases as 2 new classes. Is this OK? Patches and testcases are zipped. |
Description
Toshiaki Kamoshida
2003-02-13 03:59:34 UTC
Created attachment 4849 [details]
Testcase for this problem.
Created attachment 4850 [details]
PATCH for this probrem.
Could you please supply the testcase as a patch? I applied the patch locally and it compiles okay, but I am reluctant to submit it to the CVS repository without having the testcase working. Created attachment 4894 [details]
I resubmit testcases as 2 new classes. Is this OK?
What should I do?More test case? Or resubmit patch with other solution? For starters, preface with the word [PATCH] in the subject ;-) Oh, sorry... I feel Mr.Rainer Klute already evaluated my attatchments. In my patch,deciding logic to serialize as compressed or raw unicode is in FooterRecord and HeaderRecord.(Only checking character code greater than 0xff is existed or not...it works correctly in my local some testcases,but I don't know it is truly correct for OLE2 specification XP) But now in POI library,responsibility to manage the encoding mode is not in library,but in users(like HSSFCell).My patch is different style from that POI currently doing. Is it OK? can you resubmit the classes as a directoring preserving zip relative to the jakarta-poi module? this looks good to me. In that case, I'll apply it. Created attachment 5785 [details]
Patches and testcases are zipped.
IIRC I kpet having trouble getting the patches to apply. We should fix this for 2.0.... I'm hoping Tetsuya "i18n czar" can help. I'm sorry,I had left from your project and had sunk at an another deep one in my business so long,and forgotten about it. Can I help you about it? Please teach me what is invalid in my patches or my ways to send.I'm not good about English,so I hope Mr.Tetsuya help me :) It looks surviving as a problem,don't you? The current source of record.HeaderRecord(Rev1.10) and record.FooterRecord (Rev1.10) are still not supported DBCS,and string-value is dealed as SBCS always. Plz teach me what should I do... Fixed. Sorry it too so long, but patch did not apply cleanly, had to manually copy chunks, and then edit. Also easier to see whats going on if patch is unified (diff -u). Added reading tests as well, which were missing. |