-
-
Notifications
You must be signed in to change notification settings - Fork 51
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Copying subtitles with diacritics unexpectedly strips spaces #101
Comments
You can use powershell to send text to clipboard, like it was done in videoclip, here. Not sure if you tried this exact method or not. Also, have you tried GNU/Linux? Here is a list of recommended GNU distributions. |
Thank you for getting back to me! I've figured out the problem: this works fine before 0.20. And 0.21 is a breaking change. I've set I assume this is because it finds a non latin character (é) and then assumes it's language e.g. Japanese? Thank you for your suggestion, I'm using Linux as well but haven't switched completely due to other tools I'm using :) |
Yes |
It would be beneficial if someone made a PR that replaces |
If it ain't broke, don't fix it? In this particular issue, I don't think it's an issue with cmd, but rather the implementation of I think it's a bug, because it's clearly confusing how spaces are being removed (and it used to work fine before 0.21). I think
|
Some concerns have been raised regarding the use of cmd. #20 |
Environment
Windows 10, mpvacious_v0.23
Describe the bug
A description of what the bug is.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Subtitles are copied as-is
I can't seem to isolate where the problem lies. Individual components work correctly but collectively it doesn't work. A bat file outputs the content as expected:
I've also tried hardcoding the string and that produced strings with whitespaces correctly:
I tried using
set /p
instead ofecho
but that didn't do anythingI've tried powershell but that didn't seem to work at all - it just flashes a terminal window without copying anything, maybe I didn't get the params quite right
Any suggestions would be appreciated
The text was updated successfully, but these errors were encountered: