2 Replies Latest reply on Mar 7, 2011 3:30 PM by nbelaevski

    RF3.3.3 final FileUpload can't transform chinese character string correctly.

    yyq2009

      I use myfaces 1.2 and RF3.3.3, I found that the fileupload component can't  localize chinese characters correctly.

       

      My page:

       

         <rich:fileUpload acceptedTypes="*" ajaxSingle="true"

             addControlLabel="增加"

          fileUploadListener="#{testBean.listener}"

          listHeight="0"

          >

         </rich:fileUpload>

       

      It shows like this in my Firefox and IE8:

      Snap1.gif

      It should show the addControlLabel as  Chinese characters "增加", but it shows "&#22686;&#21152;"; I want to modify the javascript of fileupload, but the just use "new fileuplaod" to create a fileload object, so I can't change the labels of the fileuplaod object without a reference.

      I don't know if I did something wrong or it's a issue?