Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 01-20-2023, 06:19 AM
Gabarito Gabarito is offline Line endings from Youtube text Windows 7 64bit Line endings from Youtube text Office 2010
Novice
Line endings from Youtube text
 
Join Date: Jan 2023
Posts: 3
Gabarito is on a distinguished road
Default Line endings from Youtube text

There is a very mysterious event that I can not solve when copying and pasting some block of text. Maybe, someone could explain what happens here.




Every time I copy a content area from a Youtube video (description field) and paste it to a Microsoft Word document, text comes without CR/LF characters. I mean, all the text is placed as it was just only one line. Try yourself and see it.


But, if I paste the block of text to an UltraEdit (text editor) document, all the Carriage Return and Line Feed characters are placed as expected and correctly.


Because UltraEdit cannot see the hyperlinks inside the text, but Word can, I have no clue how to integrate a solution to get CR/LF characters and hyperlinks.


If I use Word, I got no line feeds.
If I use UltraEdit, I end up without hyperlinks.


Anyone has an idea for solve that puzzle?
And could explain what is going on with CR/LF characters from Youtube text?



After a while looking for a solution, for my big surprise, that very old Windows 98 text editor, called Write.exe could do the trick. But it's still failing to get hyperlinks from video timecode. It just catches them from links with "http" prefix.


I tried too many online text editors, GoogleDocs, Office 365, Zoho, EditPad and others. None of them place correctly line endings. But grab hyperlinks.


I'm advised that it's because unix-like lines terminations.
Any VBA or other workaround to get those correct line endings?



I'm still without a full solution.
Reply With Quote
  #2  
Old 01-20-2023, 06:24 AM
Gabarito Gabarito is offline Line endings from Youtube text Windows 7 64bit Line endings from Youtube text Office 2010
Novice
Line endings from Youtube text
 
Join Date: Jan 2023
Posts: 3
Gabarito is on a distinguished road
Default

I got that Windows manages how clipboard data is used by destination application.
And UltraEdit has an option to convert line endings.


I could see the clipboard content using "clipbrd.exe", but couldn't find a way to change it to the desired format.
It just display data, do not edit or convert it .

In other words, now I can understand the problem, but cannot solve it.
Curiously, this happens only with Youtube text from "Description" field.


I copy text from all pages around the globe and paste it to Microsoft Word without this problem.


Firefox here.

I had searched for a tool, online or not, to convert what UltraEdit do, without success.


Goal is to copy that description field and paste it to Word preserving line endings.

Any suggestion?
Reply With Quote
  #3  
Old 01-20-2023, 08:21 AM
Charles Kenyon Charles Kenyon is offline Line endings from Youtube text Windows 11 Line endings from Youtube text Office 2021
Moderator
 
Join Date: Mar 2012
Location: Sun Prairie, Wisconsin
Posts: 9,124
Charles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant future
Default

Cross-posted with an answer in Super-User; microsoft word - Line endings from Youtube text - Super User
Also at Line endings from Youtube text - Microsoft Community Hub

Please read A Message to Forum Cross-Posters
Reply With Quote
  #4  
Old 01-20-2023, 10:08 AM
Gabarito Gabarito is offline Line endings from Youtube text Windows 7 64bit Line endings from Youtube text Office 2010
Novice
Line endings from Youtube text
 
Join Date: Jan 2023
Posts: 3
Gabarito is on a distinguished road
Default

@Charles_Kenyon, thank you for pointing me to "Cross-posting Etiquette" and sorry for my own cross-posting.
I understand and I agree with all reasons for don't do that.

My question came up some days ago, and I post it at UltraEdit forum last wednesday.
Mofi, its Moderator, gave me some explanations about Windows clipboard, but couldn't see a solution for that.
And more: he said that UltraEdit forum wasn't a place to discuss that issue. Thus, he deleted the entire thread I had started.
I have a copy of the page, but it doesn't exist anymore.
UltraEdit, UltraCompare, UEStudio forums - Information

He also had suggested another forum, about Office issues, and I'm here.


First, I tried SuperUser, where I'd already had an account. It was yesterday.
I got a half solution from @harrymc, as I said there.
And today, I came here and here.
I hope someone has a suggestion that can solve the problem.

I'm not newbie at forums environment.
And I respect all kinds of etiquette for that.
I began using BBS, mailing lists and listserv, like Majordomo, in the mid-90'.
Of course, I used many other usernames.

I'd like to say sorry if my cross-posting can have harmed this forum.
Reply With Quote
  #5  
Old 01-20-2023, 02:25 PM
Charles Kenyon Charles Kenyon is offline Line endings from Youtube text Windows 11 Line endings from Youtube text Office 2021
Moderator
 
Join Date: Mar 2012
Location: Sun Prairie, Wisconsin
Posts: 9,124
Charles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant future
Default

Not a problem. However, if necessary to cross-post, it is important to focus on one forum for discussion and answers, and to notify each location when you get an answer and where.
Reply With Quote
Reply

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Line endings from Youtube text How do i keep my textbox in line with a certain line after editing the body text? MaartenRo Word 3 06-26-2022 12:18 AM
Copy Text from YouTube into Word mlarson Word 11 02-26-2020 09:21 AM
Line endings from Youtube text Replacing random paragraph endings in text jp91306 Word 3 04-23-2019 03:32 PM
Usability of space between final line of body text and footnote separator line Swarup Word 6 07-28-2018 12:51 PM
Lock line so text does not move to next line saundrals Word 2 06-19-2014 03:59 PM

Other Forums: Access Forums

All times are GMT -7. The time now is 12:07 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2024 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft