This site will have limited functionality while we undergo maintenance to improve your experience. If an article doesn't solve your issue and you want to ask a question, we have our support community waiting to help you at @FirefoxSupport on Twitter and/r/firefox on Reddit.

Search Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

Hierdie gesprek is in die argief. Vra asseblief 'n nuwe vraag as jy hulp nodig het.

How to encode a newline in the address bar search?

  • 1 antwoord
  • 1 het hierdie probleem
  • 5 views
  • Laaste antwoord deur FredMcD

more options

Hello!

I perform some translations through address bar searches, which use the URL of a translation engine (Bing/Google translate).

One thing that I couldn't solve is how to encode newlines. Sometimes, the text to translate includes newlines. When I copy/paste, the address bar flattens the text, entirely removing the newlines. For longer texts, this makes reading the translated text more difficult, because the result is a single, very long, line.

I've tried pasting "%0A" and "\n", but they are encoded.

Is there any way to encode a newline via copy/paste into the address bar search URL?

Thanks.

Hello! I perform some translations through address bar searches, which use the URL of a translation engine (Bing/Google translate). One thing that I couldn't solve is how to encode newlines. Sometimes, the text to translate includes newlines. When I copy/paste, the address bar flattens the text, entirely removing the newlines. For longer texts, this makes reading the translated text more difficult, because the result is a single, very long, line. I've tried pasting "%0A" and "\n", but they are encoded. Is there any way to encode a newline via copy/paste into the address bar search URL? Thanks.

All Replies (1)

more options

The best way would be to open the translator page in a new window/tab. Then copy the text over to the translator.