- 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:
Rainer Klute 2005-02-13 18:35:09 +00:00
parent 63f9eeed81
commit 275b6096aa
2 changed files with 5 additions and 0 deletions

View File

@ -10,6 +10,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;

View File

@ -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: