Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Web Development
  3. ASP.NET
  4. arabic file name is coming in junk characters while download the file using asp.net

arabic file name is coming in junk characters while download the file using asp.net

Scheduled Pinned Locked Moved ASP.NET
csharpasp-nethelptutorial
3 Posts 3 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • L Offline
    L Offline
    lakshmichawala
    wrote on last edited by
    #1

    when i download the file which is in arabic name and extension is .txt when i click on download button iam getting the arabic file name with junk characters and the file content is coming with aspx code how to solve this problem

    A S 2 Replies Last reply
    0
    • L lakshmichawala

      when i download the file which is in arabic name and extension is .txt when i click on download button iam getting the arabic file name with junk characters and the file content is coming with aspx code how to solve this problem

      A Offline
      A Offline
      Abhijit Jana
      wrote on last edited by
      #2

      Where is the code for download ?

      cheers, Abhijit CodeProject MVP Web Site:abhijitjana.net View My Recent Article

      1 Reply Last reply
      0
      • L lakshmichawala

        when i download the file which is in arabic name and extension is .txt when i click on download button iam getting the arabic file name with junk characters and the file content is coming with aspx code how to solve this problem

        S Offline
        S Offline
        Sabrysoft
        wrote on last edited by
        #3

        Response.AppendHeader(Content-Disposition", "attachment; filename=" +Server.UrlPathEncode(EncodeFile));

        Sabrysoft student at Faculty of Computers and Information(FCI) 4th year Computer scince Department helwan University Egypt

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • World
        • Users
        • Groups