International characters in filename

Last post 10-09-2009, 2:58 AM by mejner. 5 replies.
Sort Posts: Previous Next
  •  10-08-2009, 3:01 AM 56210

    International characters in filename

    How do I get the Ajax Uploader to upload international characters such as å, ä and ö in a correct manner? Now they get replaced with "crap" characters.
  •  10-08-2009, 4:39 AM 56211 in reply to 56210

    Re: International characters in filename

    Hi,
     
    Please test this url :
     
     
    Regards,
    Terry
     
  •  10-08-2009, 7:18 AM 56221 in reply to 56211

    Re: International characters in filename

    Yes, that seems to work. But my form also displays the åäö characters. It's when I try to deal with the data inside the Uploader_FileUploaded sub that characters changes.
     
    I viewed the source of the full demo but I couldn't see any encoding.
  •  10-08-2009, 9:11 AM 56226 in reply to 56221

    Re: International characters in filename

    Hi,
     
    Make sure you are using the newest version.
     
    One of the old version has problem on special chars.
     
    You can find the exact version from file description .
     
    Regards,
    Terry
  •  10-08-2009, 2:08 PM 56236 in reply to 56226

    Re: International characters in filename

    I'm using version 3.0 2009091.
     
    I don't need to set any encoding or encode the characters?
     
    In my web.config I have ISO-8859-1 which I need to the rest of my app, when I changed to UTF-8 in the web.config I got errors at other parts of the webb app.
  •  10-09-2009, 2:58 AM 56255 in reply to 56236

    Re: International characters in filename

    Since no other solution came up I solved it with this crappy function:
     
    Private Function aao(ByVal str As String) As String
       str = Replace(str, "Ã¥", "å")
       str = Replace(str, "ä", "ä")
       str = Replace(str, "ö", "ö")
       Return str
    End Function
View as RSS news feed in XML