4 Replies Latest reply on Dec 20, 2016 9:37 AM by michpetrov

    Issue with Richfaces file-upload for files having multi byte character filename

    user4

      While uploading files using Richfaces having multi byte character filename, file upload listener is not getting called if filename has some special characters. UTF-8 encoding is set in xhtml page as well as filter file

      XHTML file snippet:

      <h:form id="form" enctype="multipart/form-data;charset=UTF-8;" acceptcharset="UTF-8" >
      ...
      <rich:fileUpload id="upload" fileUploadListener="#{fileUploadBean.uploadListener}" immediateUpload="true" addControlLabel="Add" acceptedTypes="csv" >
           <a4j:ajax event="uploadcomplete" execute="@none" />
      </rich:fileUpload>
      ...
      </h:form>
      

       

      I am using Richfaces 4.5.9. Is there any bug in richfaces file-upload or am I missing any configuration?