google api - Drive API V3 - Searching on list service doesn't work with Uppercase accents -


i’m meeting problem using google drive api v3.

i have files in drive have uppercase accents (screen 1).

when use google api list method kind of q parameter :

name = ‘Évenement’

nothing comes out. problem seems uppercase accent (it works fine in lowercase) in word, search works great google drive interface :

enter image description here

but fails when api :

enter image description here

how should encode or modify query make work ?

please note i’m trying make work in python application, , meet same problem (also in appscript), doesn’t seem related client used.

many help.

at drive api, files , folders name included acute accent, umlauts , on cannot directly searched using name= q.

when searches files , folders acute accent, please modify q follows, , try again.

from :

name='Évenement' 

to :

name contains 'Évenement' 

result :

{  "kind": "drive#filelist",  "incompletesearch": false,  "files": [   {    "kind": "drive#file",    "id": "#####",    "name": "Évenement'",    "mimetype": "application/vnd.google-apps.folder"   }  ] } 

Comments

Popular posts from this blog

angular - Ionic slides - dynamically add slides before and after -

minify - Minimizing css files -

Add a dynamic header in angular 2 http provider -