Skip to content

Replace \u0000 with space in web ui#136

Open
imerr wants to merge 1 commit intoArchiveTeam:developmentfrom
imerr:patch-1
Open

Replace \u0000 with space in web ui#136
imerr wants to merge 1 commit intoArchiveTeam:developmentfrom
imerr:patch-1

Conversation

@imerr
Copy link
Copy Markdown
Member

@imerr imerr commented May 19, 2023

These apparently show up in as a spacer betweeen items and break copy&pasting in firefox (chrome works fine)

As an alternative to space it could also use \u2400 which is "symbol for null" (␀), but I think for display purposes a space is perfectly acceptable (and less confusing than ␀)

These apparently show up in as a spacer betweeen items and break copy&pasting in firefox (chrome works fine)
@imerr
Copy link
Copy Markdown
Member Author

imerr commented May 19, 2023

Oops, partial dupe of #133, but this one also replaces \0 in the output log

@imerr
Copy link
Copy Markdown
Member Author

imerr commented May 19, 2023

Here's the firefox bug report, might be a mix of os copy api limitation and bad \0 handling in chrome too https://bugzilla.mozilla.org/show_bug.cgi?id=1818910

@Arkiver2
Copy link
Copy Markdown
Member

I am slightly concerned about items would contain a space themselves. There is no clear distinction in the logs between \0 replace by a space, and a space that was already in the item name.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants