[texhax] Re: problems with accented characters except when using Emacs

Nelson H. F. Beebe beebe at math.utah.edu
Mon Jun 2 06:19:22 CEST 2003

Carlos <garciasuarez at ya.com> writes on Sun, 1 Jun 2003 12:34:58 +0200
about a problem with Spanish accented characters on GNU/Linux Red Hat

The best way to debug this situation is to find out exactly what
characters are in your file.  The editor display is not sufficient.
Run the octal dump utility, "od -abx", on a small sample file to see
exactly what characters are present in your file.

Also, note that Red Hat sets the LANG environment variable, which can
have widespread effects.  Try creating the accented characters in your
problem editors when LANG is set to C (the default Unix environment).
LANG affects several of the string handling and character
classification C library functions, sort(1), and may be used by text
editors to select input encodings.

- Nelson H. F. Beebe                    Tel: +1 801 581 5254                  -
- Center for Scientific Computing       FAX: +1 801 581 4148                  -
- University of Utah                    Internet e-mail: beebe at math.utah.edu  -
- Department of Mathematics, 110 LCB        beebe at acm.org  beebe at computer.org -
- 155 S 1400 E RM 233                       beebe at ieee.org                    -
- Salt Lake City, UT 84112-0090, USA    URL: http://www.math.utah.edu/~beebe  -

More information about the texhax mailing list