bug-enscript
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [bug-enscript] Bug with characters encoding.


From: James Cloos
Subject: Re: [bug-enscript] Bug with characters encoding.
Date: Sun, 31 Aug 2014 19:57:09 -0400
User-agent: Gnus/5.130012 (Ma Gnus v0.12) Emacs/24.4.50 (gnu/linux)

>>>>> "CC" == Claudio Gadanha Chepa <address@hidden> writes:

CC> So, i wrote a .txt file in portuguese using Sublime Text 2, and i want to
CC> convert this text into .pdf and the first part of this convertion is
CC> convert .txt->.ps which i did using enscript. I'm using charset=utf-8 and
CC> the command i use to make this convertion is:
CC> enscript -o test.ps test.txt

GNU Enscript does not yet support utf8 input.

Utf8 is one of my primary goals since accepting maintainership.

Until it is ready, you can use iconv(1) to convert the files to latin1.

In a utf8 locale, given test.txt is in utf8, then this:

   :; iconv -t latin1 test.txt | enscript -o test.ps

should work.

If you add option -c to the iconv call, it will ignore anything which it
cannot convert to latin1.

-JimC
-- 
James Cloos <address@hidden>         OpenPGP: 0x997A9F17ED7DAEA6



reply via email to

[Prev in Thread] Current Thread [Next in Thread]