Squid Posted April 7, 2019 Share Posted April 7, 2019 (edited) @jonp Is there anything you can do about copying and then pasting from the forum winds up adding more often than not hidden characters, etc that cause nothing but problems throughout the forum. eg: https://forums.unraid.net/topic/77813-plugin-linuxserverio-unraid-nvidia/?page=25&tab=comments#comment-735664 https://forums.unraid.net/topic/79012-support-linuxserverio-openvpn-as/?page=51&tab=comments#comment-734550 https://forums.unraid.net/topic/78929-docker-image-corrupt/?tab=comments#comment-732967 https://lime-technology.com/forums/topic/38582-plug-in-community-applications/?page=85&tab=comments#comment-669454 https://lime-technology.com/forums/topic/38582-plug-in-community-applications/?page=84&tab=comments#comment-664991 and it goes on and on. I *could* understand if copying / pasting from normal text, but this also affects code blocks I had to put in a PR a while ago just so CA would install no problems. https://github.com/limetech/webgui/pull/351 Edited April 7, 2019 by Squid 1 2 Quote Link to comment
JorgeB Posted April 8, 2019 Share Posted April 8, 2019 Yes, this is a real problem, recently a user had some data loss pasting the invalid slot command because of this, and it was pasted from a code block. Quote Link to comment
m8ty Posted April 30, 2019 Share Posted April 30, 2019 I've noticed that vscode will show these errors in the editor but not notepad++ notepad++ vscode I'm copying the code-block from as an example Quote Link to comment
Xaero Posted May 15, 2019 Share Posted May 15, 2019 I'm not at any of my normal computers - but knowing the codes for these hidden characters, can be useful when diagnosing this type of problem. It's possible, that it's something simple like not consistently using UTF-8 (i.e. it's set as a meta tag, so the client will render using it, but the server itself isn't aware of the character set being used, or content being submitted is being submitted using a different character set) Quote Link to comment
limetech Posted May 18, 2019 Share Posted May 18, 2019 Please post a link to a forum post which includes text, where if you select/copy/paste exhibits this issue. I tried on a few code snippets, pasting into 'vi' and don't see any issues. Quote Link to comment
CHBMB Posted May 18, 2019 Share Posted May 18, 2019 2 hours ago, limetech said: Please post a link to a forum post which includes text, where if you select/copy/paste exhibits this issue. I tried on a few code snippets, pasting into 'vi' and don't see any issues. --runtime=nvidia has caused problems here. And proof that the problem was resolved by typing it in manually here. Quote Link to comment
NAS Posted May 21, 2019 Share Posted May 21, 2019 I thought I was going mad. This is most certainly a thing. Quote Link to comment
limetech Posted May 21, 2019 Share Posted May 21, 2019 What's happening is sometimes "byte order marks" are inserted in the text copied from the clipboard. In UTF-8 this is hex sequence "ef bb bf". I've found that sometimes they appear in middle of selected text, sometimes at end, sometimes both, sometimes not at all. Have no idea how to fix ... Quote Link to comment
JorgeB Posted May 21, 2019 Share Posted May 21, 2019 17 minutes ago, limetech said: Have no idea how to fix ... Get rid of IPS? I know, I know, but sometimes get frustrated with this forum software and the disappearing posts from the unread list, the copy/paste problems, the 3 page long code blocks without a scroll bar, etc... 1 1 Quote Link to comment
CHBMB Posted May 25, 2019 Share Posted May 25, 2019 Or report it upstream to IPS I mean, it's a bug in their software..... 1 2 Quote Link to comment
ezhik Posted June 1, 2019 Share Posted June 1, 2019 I can attest that copy/pasting code blocks from the forum has caused major headaches. The one mentioned above for nvidia plugin is a perfect example. Took me at least 40 minutes to figure out why the nvidia card wasn't getting passed through, I had to copy the command line generated when the docker gets created/updaets and paste it into a text file then save it and open it with vi/vim and notepad++ with show all characters to see where the issue was. It's rough to troubleshoot... Quote Link to comment
limetech Posted June 6, 2019 Share Posted June 6, 2019 Waiting for reply from IPS. 1 Quote Link to comment
CHBMB Posted June 6, 2019 Share Posted June 6, 2019 3 hours ago, limetech said: Waiting for reply from IPS. Awesome, thanks for taking the time to report it, it's a paper cut for sure. 1 Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.