Zimbra offers Open Source email server software and shared calendar for Linux and the Mac
 
Go Back   Zimbra - Forums > Zimbra Collaboration Suite > Developers

Welcome to the Zimbra - Forums!
Welcome, if you would like to post a comment please register. We also encourage you to explore all things Zimbra with our team and members of the community.

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 03-02-2007, 10:48 AM
Project Contributor
 
Posts: 97
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
__________________
http://www.seacom.it
Reply With Quote
  #2 (permalink)  
Old 03-02-2007, 10:58 AM
Zimbra Employee
 
Posts: 1,434
Default UTF-8 + URL encoding

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

Why Join?

Registering let's you ask questions, makes it easier to search, displays any files attached to posts, and notifies you about replies.

Zimbrablog.com




 

Search Engine Optimization by vBSEO 3.1.0