mirror of
https://github.com/go-shiori/shiori.git
synced 2026-04-25 22:45:55 +03:00
[GH-ISSUE #188] Error adding https://waitbutwhy.com/2019/08/story-intro.html as a bookmark #136
Labels
No labels
component:backend
component:builds
component:builds
component:extension
component:frontend
component:readability
database
database:mysql
database:postgres
database:sqlite
feature:ebooks
github_actions
good first issue
hacktoberfest
note:duplicate?
note:fixed?
note:out-of-scope?
os:windows
priority:high
priority:low
pull-request
resolution:as-intended
resolution:cant-reproduce
resolution:duplicate
resolution:fixed
resolution:wontfix
tag:TBD
tag:big-task
tag:help-wanted
tag:huge-data
tag:meta
tag:more-info
tag:next
tag:no-stale
tag:requires-migrations
tag:research
tag:security 🛡️
tag:stale
tag:waiting-for-assignee
type:bug
type:documentation
type:enhancement
type:meta
type:ux
user:cli
user:web
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/shiori#136
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @timshannon on GitHub (Oct 2, 2019).
Original GitHub issue: https://github.com/go-shiori/shiori/issues/188
Error adding https://waitbutwhy.com/2019/08/story-intro.html as a bookmark:
@RadhiFadlillah commented on GitHub (Oct 3, 2019):
@timshannon hey, that's weird. May I know which database that you use ?
@timshannon commented on GitHub (Oct 3, 2019):
mariadb 10.4.6.
I'll try to spin up a sqlite instance in docker and get back to you to see if I can replicate it there.
@timshannon commented on GitHub (Oct 3, 2019):
Yeah works fine with sqlite.
@RadhiFadlillah commented on GitHub (Oct 3, 2019):
Yep, in my machine it also works properly both in SQLite and MariaDB :
Could you check your character encoding ?
From the error message, it seems this issue is happened because your MariaDB doesn't support unicode icon
→. This might be happened because the character encoding in your MariaDB server is set toutf8(which doesn't support emoticon) instead ofutf8mb4.@timshannon commented on GitHub (Oct 3, 2019):
So I'm just using the base mariadb image, you might want to consider forcing the character set and collation on database creation?
@timshannon commented on GitHub (Oct 3, 2019):
For future reference for anyone else who runs into this, I got it working by switching the character set on the bookmarks table:
Although you might want to do this on all tables.
@RadhiFadlillah commented on GitHub (Oct 3, 2019):
Done in a4dd1c8 .
Since this issue seem fixed by that, I will close this issue for now. Feels free to reopen it if needed.
@deanishe commented on GitHub (Dec 13, 2019):
Changing the charset in the database wasn't enough for me. I had to specify the charset on the MySQL connection, too. I've added that in PR #223