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 2009/02/13 14:33:48 UTC

DO NOT REPLY [Bug 46712] New: Turkish character support

https://issues.apache.org/bugzilla/show_bug.cgi?id=46712

           Summary: Turkish character support
           Product: POI
           Version: unspecified
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: enhancement
          Priority: P2
         Component: XSSF
        AssignedTo: dev@poi.apache.org
        ReportedBy: tufang@gmail.com


When I try to write Turkish ( 'ş', 'ğ', 'İ', 'Ş', 'Ğ' ) characters into a
new Excel file, I am having display errors. However,when it comes to write
other characters like ('i', 'ü', 'ç') it displays properly in the generated
Excel file.
I attached the sample generated Excel file. It would be useful to add Turkish
character support to POI.

I apply the lines below when inserting new values into all of the cells in the
Excel sheet :

HSSFCell cell0 = row.getCell((short) 0);
cell0.setCellStyle(cellStyle);
cell0.setCellType(HSSFCell.CELL_TYPE_STRING);
cell0.setEncoding(HSSFCell.ENCODING_UTF_16);

I am using poi 2.5.1 version.

Thanks in advance.


-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@poi.apache.org
For additional commands, e-mail: dev-help@poi.apache.org


DO NOT REPLY [Bug 46712] Turkish character support

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=46712





--- Comment #1 from Tufan <tu...@gmail.com>  2009-02-13 05:34:45 PST ---
Created an attachment (id=23255)
 --> (https://issues.apache.org/bugzilla/attachment.cgi?id=23255)
csv file


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

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@poi.apache.org
For additional commands, e-mail: dev-help@poi.apache.org


DO NOT REPLY [Bug 46712] Turkish character support

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=46712


Tufan <tu...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |CLOSED




--- Comment #3 from Tufan <tu...@gmail.com>  2009-02-13 06:15:32 PST ---
Hi;

I have just updated the version of POI used to 3.1 and it started to work
correctly. Thanks for your help and consideration.

Regards;


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

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@poi.apache.org
For additional commands, e-mail: dev-help@poi.apache.org


DO NOT REPLY [Bug 46712] Turkish character support

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=46712


Nick Burch <ni...@torchbox.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |LATER




--- Comment #2 from Nick Burch <ni...@torchbox.com>  2009-02-13 05:39:53 PST ---
poi 2.5.1 is over 4 years old...

Try with a recent POI version. If you have your java correctly setup for
unicode (most people do), you'll then be fine to put unicode in richtextstrings
and have them displayed


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

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@poi.apache.org
For additional commands, e-mail: dev-help@poi.apache.org