Hi, I have a problem that I can't find the anwser to, so I'm hoping that you can help.
I'm making a new manual at work, and I have about 600 URL's that I've transfered over from excel.
If I then go and delete the %0D from the browser line, the URL workes just fine.
So my question is, how do I get rid of the %0D when exporting to pdf ??
Here is a list of things that I've tried already:
- Export with "Shared destination" checked
- Export with "Shared destination" un-checked
- Checking in excel that the URL don't have any line breaks
- Checking in excel that the URL don't have "carriage return"
- Copying the URL to notepad, and from there to InDesign
- Typing the URL in InDesign manual
Nothing of this has worked for my.. Please help if you can.. The manual will be send out to our customers world wide, so it needs to work..
How are moving this info from Excel to ID? What version of ID? What version of Excel? What operating system?
Windows 10 (64 bit)
InDesign CC version 14.0.1 x64
You still didn’t tell us how you’re moving from Excel to InDesign.
I'm just using simple copy paste.
Marking the text in excel and then using "Ctrl+C" to copy, and then inserting it in InDesign using the "Insert new hyperlink" function.
I don't know if it makes a diffrence, but I'm inserting my hyperlink on an image insted of a text.
Try to place the Excel file into InDesign instead of pasting it.
It might be me not being totaly clear about what it is I'm after, but the excel file will not be included in what I'm doing, it's only the means in wich I've gotten the URL's from our marketing department, so I just need to get the links out of excel and into InDesign.
Again, place the file. Then copy paste the URLs to where you need them in InDesign.
See if that works.
I did not know that you have the posibility to import excel files into inDesign by placing them like an image !!
That's for the help. It's working 100%
I've been looking for a solution for the same problem and found only this discussion over the web.
Unfortunately, the solution written here doesn't work for me.
I'm placing a docx file and upon exporting the links been added with %0D.
What could it be?
I think this is a very old issue.
( ACP )
Thank you for your reply, but it's not old at all.
This discussion is from Feb this year.
I didn't find an answer in the link you've sent me.
well, you are right. The issue discussed in this thread is: Something, %0D is added to a URL hyperlink destination.
We could try a scripting solution similar to the one in the other thread I linked to.
I'd like to write a script that is doing this: Remove the extra %0D off the end of the URL if this %0D is already visible in the URL of the hyperlink in InDesign. At least I can test if something, a special character perhaps, is added at the end and when exported to PDF transfers to %0D in the link. Can you provide a sample InDesign document for testing some script code? Together with the exported PDF?
Upload the documents zipped to Dropbox or a similar service and provide the download link.
( ACP )
When I look at the links in the indesign file I don't see that addition, but here are the files:
Sorry. I have no Google Account and I'm not willing to add one.
So I cannot download your files.
( ACP )
it's hard for me to check your Hebrew document, but as far as I can see there is no issue with the hyperlinks of your buttons in this document. Exported a PDF (Interactive) with my German version of InDesign CC 2019. All buttons are working, means if the are clicked they will lead me to a web page. If they are working as expected I cannot tell, because I cannot read or understand any Hebrew.
Below an example from page 15 with Button 60.
In the layout:
Web page opened with Firefox on Windows 10 from my exported PDF opened in my German Adobe Reader:
The same page will be addressed if I open your PDF and click the same button.
FWIW: I cannot see any %0d characters added to the URLs as the original poster of this thread has seen.
So: What exact issue do you have with that document?
Maybe a bug with the Hebrew version of Adobe Reader?
( ACP )
Thank you very much for taking the time of looking into this.
I can not see the web address of the screenshot you've sent, you said there's no %0D added but - the page shows an error. "There's no page".
Have you tried couple of links? none of them adds %0D at the end?
Maybe it's a problem in the middle eastern version then, but still, you've got an error too.
ok, then we have an issue.
I've seen into this again.
If I copy the URL of button 60 to a text frame, copy the contents to my browser I get this web page:
If I then assign the contents of this text frame as URL to a button's target and export as Adobe PDF Interactive I can see the same URL in Acrobat Pro with a different notation of the individual Hebrew glyphs, their corresponding Unicode codes:
As far as I can tell there is no glyph added.
The last one in the URL is <05EA> that corresponds with InDesign's contents of the text frame above the button:
However if I click the button with my Adobe Reader the following web page will open:
So I conclude this is a different issue that we are seeing here.
My German InDesign will export the Hebrew glyphs as Unicode codes and my browser is not able to translate them back to Hebrew glyphs like my copy/paste action is doing this OK when coming from the contents of my text frame.
No extra code is added, but the result is far from working.
I have no idea what to do to get this right.
( ACP )
EDITED: Fixed a typo
I said: "I have no idea what to do to get this right".
This is meant in the context of InDesign.
With Acrobat Pro I could copy the URL to the button to maintain the Hebrew glyphs:
( ACP )
finally I found a solution to your problem.
EDIT: I was too optimistic! This issue is still NOT sorted. Sorry.
You have to encode the Hebrew glyphs in a different way.
One example where we leave that part of the URL anlone:
But the encoding of the rest of the URL is this:
Can be done on the web for example here:
The combined string is now copied as URL to the button in InDesign.
Adobe PDF (interactive) export will generate a URL that is working with Adobe Reader.
I had no luck when encoding the whole URL.
( ACP )
FWIW: If I do publish your document with InDesign's Publish Online feature the URL links of the buttons that contain the Hebrew parts at the end of the link are working as expected. So I really think we have a bug with Export to PDF Interactive and buttons with gotoURLBehaviors.
However, with Publish Online the QR codes are done very lowres. To correct this you may consider using InDesign 2020 and place the QR codes as SVG vector graphics. Placing SVG graphics done with e.g. Adobe Illustrator is a new feature with InDesign 2020 and the SVG vector images should remain as vector graphics in the Publish Online HTML code. Did not test that yet.
( ACP )
Ok, so there's a bug that needs to be fixed.
I have no intention of looking for by-pass solutions.
By the way, the QR codes are made with INDD feature, it's really sad to see that this awesome software is full of bugs.
Thank you for your help.
by help of some scripting I read out all URL addresses of all buttons of your document with gotoURLBehaviors.
It's a very mixed list of addresses already in the document. Some encoded with Unicode like in this notation <0000>, some are not valid, some are OK, some seem to be OK, but do not work. So I'm really not sure anymore what's working and why are some failing.
Did you apply all the URLs with copy/paste from a list?
To do a bug report you should single out some of them that are OK with InDesign, looking OK at first glance with Acrobat but still do not work as intended. I'm not exactly sure why. Copy/paste errors? URL of a web page changed? No idea.
That's the hard stuff you have to check first. Time consuming for 99 buttons.
But how would you like to proceed?
Best test and change the URLs in the exported PDF you like to deliver.
FWIW: I still think, that the title of this thread:
%0D being added to all URL's
does NOT apply to the issues you are seeing.
( ACP )