-
-
Notifications
You must be signed in to change notification settings - Fork 179
Description
Describe the bug
Bookmark scraping appears to not use unicode, resulting in garbled characters with for example Japanese.
The PHP default_charset is set to UTF-8, Debian defaults. Japanese works fine with file syncing and in other parts of Nextcloud.
To Reproduce
Add bookmark https://www.youtube.com/watch?v=OoM0ikOi1v4 with web scraping turned on.
ã��Blenderã��å��å¿�è��å��ã��ï¼�Blenderè¶�å�¥é��è¬�座ã��ï½�ç°¡å��ã�ªã�»ã�«ã�«ã��ã�¯ã�®ã��ã��ã��ã�®ã�ã�£ã�©ã�¯ã�¿ã�¼ã��ä½�ã��ã��ï¼�ï½�
Seems like the values are inserted into the database garbled.
# from psql command line
nextcloud=# select title from oc_bookmarks;
ã\u0080\u0090Blenderã\u0080\u0091å\u0088\u009Då¿\u0083è\u0080\u0085å\u0090\u0091ã\u0081\u0091ï¼\u0081Blenderè¶\u0085å\u0085¥é\u0096\u0080è¬\u009B座ã\u0080\u0080ï½\u009Eç°¡å\u008D\u0098ã\u0081ªã\u0082»ã\u0083«ã\u0083«ã\u0083\u0083ã\u0082¯ã\u0081®ã\u0081\u0086ã\u0081\u0095ã\u0081\u008Eã\u0081®ã\u0082ã\u0083£ã\u0083©ã\u0082¯ã\u0082¿ã\u0083¼ã\u0082\u0092ä½\u009Cã\u0082\u008Dã\u0081\u0086ï¼\u0081ï½\u009E
PostgreSQL database using UTF8 for encoding and en_US.UTF-8 for collate and ctype.
Expected behavior
【Blender】初心者向け!Blender超入門講座 ~簡単なセルルックのうさぎのキャラクターを作ろう!~
Screenshots
Render from the bookmarks UI in firefox.
Desktop (please complete the following information):
- OS: Debian Linux
- Browser: Firefox
- Version: ESR 128
Server (please complete the following information):
- OS: Debian bookworm
- HTTP server: nginx
- Database: PostgreSQL 15
- PHP version: 8.2 FPM
- Nextcloud version: 30.0.13
- Bookmarks app version: 15.1.3
- Activated Nextcloud Apps: See [Bug]: files_versions metadata update forbidden on new file upload in a read-create-only share resulting in errors server#54134 (comment)
- Nextcloud configuration: See [Bug]: files_versions metadata update forbidden on new file upload in a read-create-only share resulting in errors server#54134 (comment)
- Nextcloud external user backend: none
Additional context
Web server error log
Nothing shows up in logs.
Nextcloud log (nextcloud/data/nextcloud.log)
Nothing shows up in logs.
Browser log
Not sure about this.