Re: txt encoding conversion

From: Sybren Stuvel (sybrenUSE_at_YOURthirdtower.com.imagination)
Date: 10/18/05


Date: Tue, 18 Oct 2005 21:00:14 +0200

alejo enlightened us with:
> I just write אטלעש, I don't use \`a etc. This is allowed, I just
> have to import the right package this way:
>
> \usepackage[latin1]{inputenc}

Encode your files to Latin1, and they will be accepted by LaTeX just
fine. I just ran a test, and it works.

> I might use any editor that would let me do it: nedit, gedit, kate,
> whatever.

I always use GVim

> using "file" on a txt file I just get "ASCII text", whatever the
> encoding is. I saw the programmes let me know which encoding I might
> use before saving, but I'd like to know the encoding of a txt file
> that already exists.

Open it in GVim or Vim, and type ':set fileencoding'.

> so I just have to change the "UTF-8" LANG variable, then.

I never said that.

> Just in case, what is the code for iso8859-1?

I don't know, I never use it. Google a bit and you'll find it.

Sybren

-- 
The problem with the world is stupidity. Not saying there should be a
capital punishment for stupidity, but why don't we just take the
safety labels off of everything and let the problem solve itself? 
                                             Frank Zappa


Relevant Pages

  • CTAN Update: New CJK version 4.8.0
    ... package. ... various Asian scripts in many encodings: ... Support for EUC-JP with DNP font encoding has been ... Added support for T5 encoding. ...
    (comp.text.tex)
  • Re: whats a Content-Transfer-Encoding named base8 ...
    ... I just tried to read the body of a multipart message using the mime ... package. ... that the message part has an encoding named base8. ...
    (comp.lang.tcl)
  • CTAN update: euenc
    ... Remove xunicode from the EU2 encoding; it is now loaded internally by ... Basic package information, ... Unicode font encoding definitions for XeTeX. ...
    (comp.text.tex)
  • Re: CTAN Update: oberdiek bundle -- selinput v1.0
    ... > This package selects the input encoding by specifying between ... `2007/06/17' of package stringenc, ... Package selinput Error: Cannot find a matching encoding. ...
    (comp.text.tex)
  • Re: whats a Content-Transfer-Encoding named base8 ...
    ... I just tried to read the body of a multipart message using the mime ... package. ... that the message part has an encoding named base8. ...
    (comp.lang.tcl)