Where did you install Firefox from? Help Mozilla uncover 3rd party websites that offer problematic Firefox installation by taking part in our campaign. There will be swag, and you'll be featured in our blog if you manage to report at least 10 valid reports!

Поиск в Поддержке

Избегайте мошенников, выдающих себя за службу поддержки. Мы никогда не попросим вас позвонить, отправить текстовое сообщение или поделиться личной информацией. Сообщайте о подозрительной активности, используя функцию «Пожаловаться».

Learn More

How to encode a newline in the address bar search?

  • 1 ответ
  • 1 имеет эту проблему
  • 5 просмотров
  • Последний ответ от 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.

Все ответы (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.