Results 1 to 2 of 2

Thread: rest url and accents

  1. #1
    lfasci is offline Trained Alumni
    Join Date
    Jul 2006
    Location
    Pisa
    Posts
    135
    Rep Power
    9

    Default rest url and accents

    Hi

    I want to call rest url to export a folder the folder name contains accent

    http://192.168.100.6/zimbra/home/lorenzof/qualità.zip
    the bowser convert the url
    http://192.168.100.6/zimbra/home/lorenzof/qualit%E0.zip

    I receive the error

    The requested resource (no such item) is not available.

    my OS is centos 4.4 in i18n I have LANG="it_IT.ISO-8859-1"
    If I call the the url ad described in wiki

    curl -u mylogin:mypawword http://localhost/zimbra/home/lorenzof/qualità.zip > bck.zip

    it works well

    I think it is a tomcat encoding url problem can someone tell mehow do I have to call the url ?

    Thank you

  2. #2
    dkarp is offline Zimbra Employee
    Join Date
    Aug 2005
    Posts
    1,433
    Rep Power
    11

    Default UTF-8 + URL encoding

    First encode to UTF-8. Then URL encode the result.
    Bugzilla - Wiki - Downloads - Before posting... Search!

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •