cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Announcements
What’s new: end-to-end encryption, Replay and Dash updates. Find out more about these updates, new features and more here.

Dropbox API Support & Feedback

Find help with the Dropbox API from other developers.

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

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

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

Kuki
Explorer | Level 4

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 1

Greg-DB
Dropbox Staff

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

Need more support?
Who's talking

Top contributors to this post

  • User avatar
    Greg-DB Dropbox Staff
What do Dropbox user levels mean?