Bookmark Import

Description of the Issue
When I try to import bookmarks I get “Something went wrong while trying to import the bookmarks. Please consult the application logs.”
The application logs say:
“iconv(): Wrong encoding, conversion from “‘utf-8’” to “UTF-8” is not allowed {“userId”:1,“exception”:”[object] (ErrorException(code: 0): iconv(): Wrong encoding, conversion from “‘utf-8’” to “UTF-8” is not allowed at /app/app/Helper/HtmlMeta.php:129)"

Steps to reproduce
Steps to reproduce the behavior:

  1. Click on Name -> Import
    2.Click on Browse
  2. Select Firefox html bookmarks
  3. See error

Expected behavior
I expected all the bookmarks to be imported

LinkAce setup (please complete the following information):

  • Version: v1.2.0
  • Installed via: Docker Easy Install
  • OS: Ubuntu 20.04

Tried The following:

Desktop (please complete the following information if applicable):

  • OS: Manjaro - Current
  • Browser: Firefox
  • Version 85

Desktop (please complete the following information if applicable):

Desktop (please complete the following information if applicable):

  • OS: Windows
  • Browser: Firefox
  • Version 85

Desktop (please complete the following information if applicable):

  • OS: Windows
  • Browser: Chrome
  • Version Latest

Desktop (please complete the following information if applicable):

  • OS: Windows
  • Browser: Brave
  • Version Latest

Additional context
As you can see I’ve used two OS’s and Multiple Browsers, but I don’t think that is the issue.

I have also gotten this error from trying to import from the html export out of Chrome, Brave, Firefox, and bookmarks.google.com.

I also did a regex search and replace in the HTML bookmark file for “charset” and removed all the lines containing this. I also did it with “UTF-8”

I still got the error.

I added a bug report for this.

I was not able to replicate this issue exactly, but LinkAce v1.2.1 is out with a fix that should prevent these errors. :blush: