<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: File name written with Multi-byte code in Dropbox API Support &amp; Feedback</title>
    <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/File-name-written-with-Multi-byte-code/m-p/225972#M12309</link>
    <description>&lt;P&gt;How are you printing this output?&amp;nbsp;The API itself should be be returning valid escaped unicode characters where applicable. I just tried it myself using the filenames you supplied, and I'm seeing these pieces of raw output, for the respective file names (using curl):&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;"name": "u3042u3044u3046.txt"&lt;/PRE&gt;
&lt;PRE&gt;"name": "\u3042\u3044\u3046.txt"&lt;/PRE&gt;
&lt;P&gt;The first one is the plain text file name, and the second is the encoded unicode file name.&lt;/P&gt;</description>
    <pubDate>Thu, 15 Jun 2017 20:32:25 GMT</pubDate>
    <dc:creator>Greg-DB</dc:creator>
    <dc:date>2017-06-15T20:32:25Z</dc:date>
    <item>
      <title>File name written with Multi-byte code</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/File-name-written-with-Multi-byte-code/m-p/225858#M12297</link>
      <description>&lt;P&gt;At first, this writing contains &lt;STRONG&gt;multi-byte&lt;/STRONG&gt; charactors.&lt;BR /&gt;So, you might unable to read some charactors correctly.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Let's see.&lt;BR /&gt;I'm trying to get the file-list from my Dropbox using Dropbox API.&lt;BR /&gt;The endpoint that I use is .....&lt;BR /&gt;&lt;A href="https://api.dropboxapi.com/2/files/" target="_blank"&gt;https://api.dropboxapi.com/2/files/&lt;/A&gt;&lt;STRONG&gt;list_folder&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;And there are two files in my Dropbox.&lt;BR /&gt;They are ....&lt;BR /&gt;----------------------&lt;BR /&gt;u3042u3044u3046.txt&lt;BR /&gt;あいう.txt&lt;BR /&gt;----------------------&lt;BR /&gt;(The second one contains multi-byte charactors.)&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;On this condition, the JASON that I've got from the API is this below.&lt;BR /&gt;-----------------------------------------&lt;BR /&gt;{&lt;BR /&gt;id : id:********111,&lt;BR /&gt;name : u3042u3044u3046.txt,&lt;BR /&gt;path_lower : /u3042u3044u3046.txt ,&lt;BR /&gt;path_display : /u3042u3044u3046.txt ,&lt;BR /&gt;............&lt;BR /&gt;},&lt;BR /&gt;{&lt;BR /&gt;id : id:********222,&lt;BR /&gt;name : u3042u3044u3046.txt,&lt;BR /&gt;path_lower : /u3042u3044u3046.txt ,&lt;BR /&gt;path_display : /u3042u3044u3046.txt ,&lt;BR /&gt;............&lt;BR /&gt;},&lt;BR /&gt;-----------------------------------------&lt;BR /&gt;(&lt;STRONG&gt;the data is the same except for "id"&lt;/STRONG&gt;.)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So my question is .....&lt;BR /&gt;"How can I distinguish these two files?"&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;I think the API seems to convert every multi-byte charactor to "u????" style.&lt;BR /&gt;If so, it is difficult to distinguish two files like them above.&lt;/P&gt;&lt;P&gt;Does anyone have solutions?&lt;BR /&gt;I need help. &lt;img class="lia-deferred-image lia-image-emoji" src="https://www.dropboxforum.com/html/@FBF7D2AB59A0D6E861EBF6A36F93B7E2/emoticons/1f642.png" alt=":slightly_smiling_face:" title=":slightly_smiling_face:" /&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 29 May 2019 09:21:34 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/File-name-written-with-Multi-byte-code/m-p/225858#M12297</guid>
      <dc:creator>seizo</dc:creator>
      <dc:date>2019-05-29T09:21:34Z</dc:date>
    </item>
    <item>
      <title>Re: File name written with Multi-byte code</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/File-name-written-with-Multi-byte-code/m-p/225972#M12309</link>
      <description>&lt;P&gt;How are you printing this output?&amp;nbsp;The API itself should be be returning valid escaped unicode characters where applicable. I just tried it myself using the filenames you supplied, and I'm seeing these pieces of raw output, for the respective file names (using curl):&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;"name": "u3042u3044u3046.txt"&lt;/PRE&gt;
&lt;PRE&gt;"name": "\u3042\u3044\u3046.txt"&lt;/PRE&gt;
&lt;P&gt;The first one is the plain text file name, and the second is the encoded unicode file name.&lt;/P&gt;</description>
      <pubDate>Thu, 15 Jun 2017 20:32:25 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/File-name-written-with-Multi-byte-code/m-p/225972#M12309</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2017-06-15T20:32:25Z</dc:date>
    </item>
    <item>
      <title>Re: File name written with Multi-byte code</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/File-name-written-with-Multi-byte-code/m-p/226006#M12321</link>
      <description>&lt;P&gt;I've found a wrong process in my program.&lt;BR /&gt;The process has been removing escape codes "\" from the data.&lt;/P&gt;
&lt;P&gt;I appreciate you for the kind advice. &amp;nbsp; &amp;lt;(_ _)&amp;gt;&lt;/P&gt;</description>
      <pubDate>Thu, 15 Jun 2017 23:56:16 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/File-name-written-with-Multi-byte-code/m-p/226006#M12321</guid>
      <dc:creator>seizo</dc:creator>
      <dc:date>2017-06-15T23:56:16Z</dc:date>
    </item>
  </channel>
</rss>

