Need to see if your shared folder is taking up space on your dropbox 👨‍💻? Find out how to check here.

Forum Discussion

Kuki's avatar
Kuki
Explorer | Level 4
6 years ago

Two Folder name's at different locations not macthed withe each other

I am using the Dropbox Business account and API's to feteh the details. The problme is, I have created 2 folders at two different locations and gave samae name to that folders ,ie The name of both the folders are "Εισαγωγικές Eξετάσεις ΠΜΣ" When I compare the names of both the folder's then they are not matched and that is the issue..

 

I dont know why this is happening. I am fetching all folder names using Dropbox API's and when I compare the name of these two folder then they not matched to each other. even I have compared both character by character and both folder names   are exactly same . but when we compare the name of both the foldrs by strcmp or other functions in PHP , they not matched. and that is the issue.. Please suggest me what is wrong in it.

 

Please check folder name here.

http://metawebglobal.com/foldernames/11.PNG

http://metawebglobal.com/foldernames/22.PNG

1 Reply

  • Greg-DB's avatar
    Greg-DB
    Icon for Dropbox Community Moderator rankDropbox Community Moderator
    6 years ago

    From your description, it sounds like this may be related to the particular encoding of the unicode strings, so you should probably normalize the strings before comparing them. Since you mentioned you're using PHP, here's some information about this in the PHP documentation:

     

    https://www.php.net/manual/en/class.normalizer.php

About Dropbox API Support & Feedback

Node avatar for Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.

The Dropbox Community team is active from Monday to Friday. We try to respond to you as soon as we can, usually within 2 hours.

If you need more help you can view your support options (expected response time for an email or ticket is 24 hours), or contact us on X, Facebook or Instagram.

For more info on available support options for your Dropbox plan, see this article.

If you found the answer to your question in this Community thread, please 'like' the post to say thanks and to let us know it was useful!