You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@poi.apache.org by bu...@apache.org on 2005/03/14 13:52:27 UTC

DO NOT REPLY [Bug 34007] New: - Unable to set cell format with non latin1 characters

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=34007>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=34007

           Summary: Unable to set cell format with non latin1 characters
           Product: POI
           Version: 2.5
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: major
          Priority: P2
         Component: HSSF
        AssignedTo: poi-dev@jakarta.apache.org
        ReportedBy: lan@ac-sw.com


I am not able to setup cell format that contains russion characters because
method 
public short createFormat( String format )
of 
java/org/apache/poi/hssf/model/Workbook.java
create FormatRecord object without setUnicodeFlag and where are
no methods I have found to set this flag my self. So I hacked it to be
unicode always. I know this is not good - better solution is to detect
whatever string can be represented in latin1 charset or not. By the
way why don't do this everywhere in the project ?

Patch for seting unicode flag will be attached.

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: poi-dev-unsubscribe@jakarta.apache.org
Mailing List:    http://jakarta.apache.org/site/mail2.html#poi
The Apache Jakarta POI Project: http://jakarta.apache.org/poi/