You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@poi.apache.org by kl...@apache.org on 2004/08/13 22:42:04 UTC

cvs commit: jakarta-poi/src/documentation/content/xdocs/hpsf how-to.xml

klute       2004/08/13 13:42:04

  Modified:    src/documentation/content/xdocs/hpsf how-to.xml
  Log:
  Made it explicit that you need J2SE 1.4 or better for a reasonable codepage support.
  
  Revision  Changes    Path
  1.13      +8 -5      jakarta-poi/src/documentation/content/xdocs/hpsf/how-to.xml
  
  Index: how-to.xml
  ===================================================================
  RCS file: /home/cvs/jakarta-poi/src/documentation/content/xdocs/hpsf/how-to.xml,v
  retrieving revision 1.12
  retrieving revision 1.13
  diff -u -r1.12 -r1.13
  --- how-to.xml	22 Jun 2004 16:16:21 -0000	1.12
  +++ how-to.xml	13 Aug 2004 20:42:04 -0000	1.13
  @@ -849,14 +849,17 @@
         receive a document from another region of the world and the codepage is
         undefined, you are in trouble.</p>
   
  -     <p>HPSF's codepage support is as good as the character encoding support of
  -      the Java Virtual Machine (JVM) the application runs on. If HPSF
  -      encounters a codepage number it assumes that the JVM has a character
  +     <p>HPSF's codepage support is only as good as the character encoding
  +      support of the Java Virtual Machine (JVM) the application runs on. If
  +      HPSF encounters a codepage number it assumes that the JVM has a character
         encoding with a corresponding name. For example, if the codepage is 1252,
         HPSF uses the character encoding "cp1252" to read or write strings. If
         the JVM does not have that character encoding installed or if the
         codepage number is illegal, an UnsupportedEncodingException will be
  -      thrown.</p>
  +      thrown. This works quite well with Java 2 Standard Edition (J2SE)
  +      versions since 1.4. However, under J2SE 1.3 or lower you are out of
  +      luck. You should install a newer J2SE version to process codepages with
  +      HPSF.</p>
   
        <p>There are some exceptions to the rule saying that a character
         encoding's name is derived from the codepage number by prepending the
  
  
  

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