Cerca nel supporto

Attenzione alle mail truffa. Mozilla non chiederà mai di chiamare o mandare messaggi a un numero di telefono o di inviare dati personali. Segnalare qualsiasi attività sospetta utilizzando l'opzione “Segnala abuso”.

Ulteriori informazioni

Questa discussione è archiviata. Inserire una nuova richiesta se occorre aiuto.

How to encode a newline in the address bar search?

  • 1 risposta
  • 1 ha questo problema
  • 5 visualizzazioni
  • Ultima risposta di 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.

Tutte le risposte (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.