nextcloud / context_chat_backend

GNU Affero General Public License v3.0
5 stars 5 forks source link

Chinese garbled characters #71

Open aef5748 opened 2 weeks ago

aef5748 commented 2 weeks ago

When I create a folder or file with a Chinese name, it becomes garbled when synchronized to the Context Chat Backend.

TRACE:    10.12.1.185:6514 - ASGI [75] Started scope={'type': 'http', 'asgi': {'version': '3.0', 'spec_version': '2.4'}, 'http_version': '1.1', 'server': ('172.18.0.4', 10034), 'client': ('10.12.1.185', 6514), 'scheme': 'http', 'method': 'PUT', 'root_path': '', 'path': '/loadSources', 'raw_path': b'/loadSources', 'query_string': b'', 'headers': '<...>', 'state': {}}
TRACE:    10.12.1.185:6514 - ASGI [75] Receive {'type': 'http.request', 'body': '<723 bytes>', 'more_body': False}
Embedding sources:
files__default: 877 (/admin/files_versions/範本/New text file.md.v1726466102)
TRACE:    10.12.1.185:6514 - ASGI [75] Send {'type': 'http.response.start', 'status': 200, 'headers': '<...>'}
INFO:     10.12.1.185:6514 - "PUT /loadSources HTTP/1.1" 200 OK
kyteinsky commented 1 week ago

Thanks for the report! I'l have a look.