You are viewing a plain text version of this content. The canonical link for it is here.
Posted to j-dev@xerces.apache.org by bu...@apache.org on 2001/08/06 15:17:48 UTC

[Bug 2998] - SAXParseException: The encoding "Cp1252" is not supported.

PLEASE DO NOT REPLY TO THIS MESSAGE. TO FURTHER COMMENT
ON THE STATUS OF THIS BUG PLEASE FOLLOW THE LINK BELOW
AND USE THE ON-LINE APPLICATION. REPLYING TO THIS MESSAGE
DOES NOT UPDATE THE DATABASE, AND SO YOUR COMMENT WILL
BE LOST SOMEWHERE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=2998

*** shadow/2998	Mon Aug  6 01:17:00 2001
--- shadow/2998.tmp.4178	Mon Aug  6 06:17:48 2001
***************
*** 2,9 ****
  | SAXParseException: The encoding "Cp1252" is not supported.                 |
  +----------------------------------------------------------------------------+
  |        Bug #: 2998                        Product: Xerces-J                |
! |       Status: NEW                         Version: 1.4.2                   |
! |   Resolution:                            Platform: PC                      |
  |     Severity: Blocker                  OS/Version: Other                   |
  |     Priority: Other                     Component: SAX                     |
  +----------------------------------------------------------------------------+
--- 2,9 ----
  | SAXParseException: The encoding "Cp1252" is not supported.                 |
  +----------------------------------------------------------------------------+
  |        Bug #: 2998                        Product: Xerces-J                |
! |       Status: RESOLVED                    Version: 1.4.2                   |
! |   Resolution: INVALID                    Platform: PC                      |
  |     Severity: Blocker                  OS/Version: Other                   |
  |     Priority: Other                     Component: SAX                     |
  +----------------------------------------------------------------------------+
***************
*** 70,72 ****
--- 70,85 ----
  Any Ideas ?
  
  Laurent
+ 
+ ------- Additional Comments From gmarcy@us.ibm.com  2001-08-06 06:17 -------
+ > But looking at the Xerces 1.4.1, this encoding should be supported.
+ 
+ Yes, under the encoding name "WINDOWS-1252".  The name "Cp1252" is the
+ name of this encoding for the Java JDK and is not a portable encoding
+ for use in XML documents (there are non-Java XML processors after all).
+ 
+ While it is not recommended, you could also set the feature:
+ 
+    http://apache.org/xml/features/allow-java-encodings
+ 
+ but your document would not be portable.

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