Skip to content

Subscription import fails when channel names contain non-ascii characters #13442

@zhihengq

Description

@zhihengq

Checklist

  • I am able to reproduce the bug with the latest version given here: CLICK THIS LINK.
  • I made sure that there are no existing issues - open or closed - which I could contribute my information to.
  • I have read the FAQ and my problem isn't listed.
  • I have taken the time to fill in all the required details. I understand that the bug report will be dismissed otherwise.
  • This issue contains only one bug.
  • I have read and understood the contribution guidelines.
  • I have read and understood the AI policy. The content of this bug report is not generated by AI.

Affected version

0.28.5

Steps to reproduce the bug

  1. Subscribe to some YouTube channels that contains unicode characters such as emojis.
  2. Go to "Subscriptions" -> press three dots -> "Export to" -> "File" -> Save to a file
  3. Press three dots again -> "Import from" -> "Previous export" -> Select the file we just saved -> "OK"

Expected behavior

The app should show "Imported", and the channels are imported correctly.

Actual behavior

The app shows "Could not import subscriptions". No channel is imported.

Screenshots/Screen recordings

No response

Logs

No response

Affected Android/Custom ROM version

No response

Affected device model

No response

Additional information

After manually editing the saved JSON file and remove all channel entries with unicode characters, the import will succeed.

Metadata

Metadata

Assignees

No one assigned

    Labels

    YouTubeService, https://www.youtube.com/bugIssue is related to a bugimport/exportAnything related to import/export of data and subscriptions

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions