@@ -10,7 +10,7 @@ app = FastAPI()
@app.post("/items")
async def read_item(search_query: str = Form(...)):
- unq=urllib.parse.unquote(search_query)
+ unq=search_query.decode("utf-8")
print(unq)
fw=codecs.open('/tmp/script.txt','w','utf-8')
fw.write(unq)