- Added support for the MacRoman codepage (10000). Thanks to Mikael Puittinen for the patch!
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353630 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
564f47ab24
commit
108dc44ab3
@ -11,6 +11,9 @@ package org.apache.poi.hpsf;
|
||||
public class Constants
|
||||
{
|
||||
|
||||
/** <p>Codepage for Macintosh Roman (MacRoman)</p> */
|
||||
public static final int CP_MACROMAN = 10000;
|
||||
|
||||
/** <p>Codepage for SJIS</p> */
|
||||
public static final int CP_SJIS = 932;
|
||||
|
||||
|
@ -285,6 +285,8 @@ public class VariantSupport extends Variant
|
||||
("Codepage number may not be " + codepage);
|
||||
switch (codepage)
|
||||
{
|
||||
case Constants.CP_MACROMAN:
|
||||
return "MacRoman";
|
||||
case Constants.CP_SJIS:
|
||||
return "SJIS";
|
||||
case Constants.CP_UTF16:
|
||||
|
Loading…
Reference in New Issue
Block a user