Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
Emojis break Chrome Bookmarks #396
TL;DR: Emojis in Google Chrome bookmarks breaks the Bookmarks plugin.
I realised that Keypirinha had stopped indexing new Google Chrome bookmarks.
As Keypirinha hasn't been updated since 2018/11/14, I suspected that a Google Chrome update had broken the integration so I setup a fresh installation in a VM but it worked fine.
So, as it stood to reason that my problem must be something specific to my usage, I completely reinstalled Google Chrome and Keypirinha but neither made a difference.
It now seemed that the problem was due to my data / configuration.
I researched this general problem and found #55 which led me to the console which reported the following:
I researched this and found https://stackoverflow.com/questions/9233027/unicodedecodeerror-charmap-codec-cant-decode-byte-x-in-position-y-character so I used Notepad++ to search "%localAppData%\Google\Chrome\User Data\Default\Bookmarks" for non-ASCII characters and found lots that had been there for a long time.
I used https://chrome.google.com/webstore/detail/recent-bookmarks/olndffocioplakeilhkgenfgdincjlpn to view my recent bookmarks and found that I had bookmarked https://emojipedia.org/ which had emojis in the name - renaming this fixed the problem.