Bug Report B133641
Visible to All Users

ASPxGridViewExporter - WritePdfToResponse does not work properly with a non "ascii" file name

created 16 years ago

When I try to pass a string with non ascii characters as the flename for the WritePdfToResponse method, then the non ascii characters in the file name do not show up properly in the save dialog.
A similar problem exists with the other methods: WriteXlsToResponse, WriteRtfToResponse…
Steps to Reproduce:
.cs files saved with UTF-8 encoding
in web.config, globalization fileEncoding="utf-8"
in the code, this.ASPxGridViewExporter.WritePdfToResponse("this is an översikt report");
Actual Results:
See attached screenshot
this+is+an+översikt+report
Expected Results:
The correct name for the file name

Comments (1)
E E
Enghouse Systems Limited 16 years ago

    Tried the fix in version 8.3.5.
    The non ascii characters are now showing up fine.
    However, if there is a space in the filenamer string, it is now replaced by a "+"

    Disclaimer: The information provided on DevExpress.com and affiliated web properties (including the DevExpress Support Center) is provided "as is" without warranty of any kind. Developer Express Inc disclaims all warranties, either express or implied, including the warranties of merchantability and fitness for a particular purpose. Please refer to the DevExpress.com Website Terms of Use for more information in this regard.

    Confidential Information: Developer Express Inc does not wish to receive, will not act to procure, nor will it solicit, confidential or proprietary materials and information from you through the DevExpress Support Center or its web properties. Any and all materials or information divulged during chats, email communications, online discussions, Support Center tickets, or made available to Developer Express Inc in any manner will be deemed NOT to be confidential by Developer Express Inc. Please refer to the DevExpress.com Website Terms of Use for more information in this regard.