ASF Bugzilla – Attachment 2332 Details for
Bug 10548
[PATCH] Unicode Support for excel sheetname.
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Let user to choose Unicode or no himself
patch2.txt (text/plain), 1.15 KB, created by
Sergei Kozello
on 2002-07-12 16:20:58 UTC
(
hide
)
Description:
Let user to choose Unicode or no himself
Filename:
MIME Type:
Creator:
Sergei Kozello
Created:
2002-07-12 16:20:58 UTC
Size:
1.15 KB
patch
obsolete
>Index: src/java/org/apache/poi/hssf/usermodel/HSSFWorkbook.java >=================================================================== >RCS file: /home/cvspublic/jakarta-poi/src/java/org/apache/poi/hssf/usermodel/HSSFWorkbook.java,v >retrieving revision 1.7 >diff -r1.7 HSSFWorkbook.java >72a73 >> import java.io.UnsupportedEncodingException; >203c204,208 >< >--- >> >> >> public final static byte ENCODING_COMPRESSED_UNICODE = 0; >> public final static byte ENCODING_UTF_16 = 1; >> >211a217,221 >> workbook.setSheetName( sheet, name, ENCODING_COMPRESSED_UNICODE ); >> } >> >> public void setSheetName( int sheet, String name, short encoding ) >> { >216c226,237 >< workbook.setSheetName(sheet, name); >--- >> >> switch ( encoding ) { >> case ENCODING_COMPRESSED_UNICODE: >> case ENCODING_UTF_16: >> break; >> >> default: >> // TODO java.io.UnsupportedEncodingException >> throw new RuntimeException( "Unsupported encoding" ); >> } >> >> workbook.setSheetName( sheet, name, encoding ); >218c239 >< >--- >>
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 10548
:
2331
| 2332 |
2333
|
2422
|
2423
|
2424
|
2430