Funkcjonalność tej witryny będzie ograniczona w czasie konserwacji. Jeśli artykuł nie rozwiązuje twojego problemu i chcesz zadać pytanie, to nasza społeczność wsparcia jest dostępna na @FirefoxSupport na Twitterze i /r/firefox na Reddicie.

Przeszukaj pomoc

Unikaj oszustw związanych z pomocą.Nigdy nie będziemy prosić Cię o dzwonienie na numer telefonu, wysyłanie SMS-ów ani o udostępnianie danych osobowych. Zgłoś podejrzaną aktywność, korzystając z opcji „Zgłoś nadużycie”.

Więcej informacji

How to encode a newline in the address bar search?

  • 1 odpowiedź
  • 1 osoba ma ten problem
  • 5 wyświetleń
  • Ostatnia odpowiedź od 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.

Wszystkie odpowiedzi (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.