On 03/21/2018 01:45 PM, Wolfgang Engelmann wrote:



Am 21.03.2018 um 18:33 schrieb Paul A. Rubin:
On 03/21/2018 01:14 PM, Wolfgang Engelmann wrote:
I am importing text from Email into lyx. How can I find out the coding of it, the coding of my lyx document, and how can I convert the imported stuff into the same coding.

Wolfgang

You might look at iconv <https://en.wikipedia.org/wiki/Iconv>.

Paul

Thanks, Paul, but how do I find out the coding, to begin with, before I do the convertion?
Wolfgang
On Linux, you can run "file -bi <file>" or "file --mime-encoding <file>". I'm not sure it's foolproof, but it seems to work pretty well for most cases.

Paul

Reply via email to