It is always the problem for non-english speaking people. 
In this case problem is in JSF RI.

We have patch it for us just yesterday.

com/sun/faces/util/HtmlUtils.java
 /**
  |      * Writes a character as a decimal escape.  Hex escapes are smaller than
  |      * the decimal version, but Netscape didn't support hex escapes until
  |      * 4.7.4.
  |      */
  |     static private void _writeDecRef(Writer out, char ch) throws 
IOException {
  |         if (ch == '\u20ac') {
  |             out.write("?");
  |             return;
  |         }
  |  else {
  |             out.write(ch);
  |             return;
  |  }
  | /*        out.write("&#");
  |         // Formerly used String.valueOf().  This version tests out
  |         // about 40% faster in a microbenchmark (and on systems where GC is
  |         // going gonzo, it should be even better)
  |         int i = (int) ch;
  |         if (i > 10000) {
  |             out.write('0' + (i / 10000));
  |             i = i % 10000;
  |             out.write('0' + (i / 1000));
  |             i = i % 1000;
  |             out.write('0' + (i / 100));
  |             i = i % 100;
  |             out.write('0' + (i / 10));
  |             i = i % 10;
  |             out.write('0' + i);
  |         } else if (i > 1000) {
  |             out.write('0' + (i / 1000));
  |             i = i % 1000;
  |             out.write('0' + (i / 100));
  |             i = i % 100;
  |             out.write('0' + (i / 10));
  |             i = i % 10;
  |             out.write('0' + i);
  |         } else {
  |             out.write('0' + (i / 100));
  |             i = i % 100;
  |             out.write('0' + (i / 10));
  |             i = i % 10;
  |             out.write('0' + i);
  |         }
  | 
  |         out.write(';');*/
  |     }

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4093921#4093921

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4093921
_______________________________________________
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to