At first, this writing contains multi-byte charactors.
So, you might unable to read some charactors correctly.
Let's see.
I'm trying to get the file-list from my Dropbox using Dropbox API.
The endpoint that I use is .....
https://api.dropboxapi.com/2/files/list_folder
And there are two files in my Dropbox.
They are ....
----------------------
u3042u3044u3046.txt
あいう.txt
----------------------
(The second one contains multi-byte charactors.)
On this condition, the JASON that I've got from the API is this below.
-----------------------------------------
{
id : id:********111,
name : u3042u3044u3046.txt,
path_lower : /u3042u3044u3046.txt ,
path_display : /u3042u3044u3046.txt ,
............
},
{
id : id:********222,
name : u3042u3044u3046.txt,
path_lower : /u3042u3044u3046.txt ,
path_display : /u3042u3044u3046.txt ,
............
},
-----------------------------------------
(the data is the same except for "id".)
So my question is .....
"How can I distinguish these two files?"
I think the API seems to convert every multi-byte charactor to "u????" style.
If so, it is difficult to distinguish two files like them above.
Does anyone have solutions?
I need help. 