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

*** shadow/2291 Sun Jun 24 10:15:53 2001
--- shadow/2291.tmp.24168       Mon Jun 25 05:52:19 2001
***************
*** 93,95 ****
--- 93,106 ----
  Garth --  You don't get a ClassNotFoundException.  You just get garbage if the 
  file is not in the platform default encoding.
  Gary
+ 
+ ------- Additional Comments From [EMAIL PROTECTED]  2001-06-25 05:52 -------
+ Howdy,
+ Have a look at the section "Service Provider" in the 
+ document "http://java.sun.com/j2se/1.3.0/docs/guide/jar/jar.html";. This seems 
+ to make it clear that the services info MUST be encoded in UTF-8, at least to 
+ comply to this level of the JAR specification. If somebody wants to specify a 
+ different value, then they are obliged to encode in UTF-8, regardless of what 
+ value they want to use for "file.encoding". So, I think the fix is straight 
+ forward. ASSUME all services info is encoded in UTF-8, and code the 
+ InputStreamReader() to force UTF-8 regardless of file.encoding.
\ No newline at end of file

Reply via email to