-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 12/02/2010 05:21 PM, Paul Rubin wrote:
> Birte Schoettker <schoettbier <at> gmail.com> writes:
> 
> <at>  Rainer: I would love to know that, too, how to identify non-ASCII
> characters in a bibtex file.
> 
> On Linux (or probably most POSIX-compatible systems), you have the iconv
> command.  So
> 
> iconv -t ASCII myfile.bib | grep iconv

Tanks for pointing this out - did not know about it. Thanks a lot.

Rainer

> 
> will try to convert your .bib file to ASCII and, if it fails, print the error
> message iconv generated (which includes the position of the offending
> character).  The position is a character count, not a line/column pair, so it
> might be easier to go with
> 
> iconv -t ASCII myfile.bib
> 
> (which writes the converted file to the display) and see where in the file 
> iconv
> died.
> 
> There are ports of iconv to Windows as well (I use the MinGW port at home).
> 
> /Paul
> 


- -- 
Rainer M. Krug, PhD (Conservation Ecology, SUN), MSc (Conservation
Biology, UCT), Dipl. Phys. (Germany)

Centre of Excellence for Invasion Biology
Natural Sciences Building
Office Suite 2039
Stellenbosch University
Main Campus, Merriman Avenue
Stellenbosch
South Africa

Tel:        +33 - (0)9 53 10 27 44
Cell:       +27 - (0)8 39 47 90 42
Fax (SA):   +27 - (0)8 65 16 27 82
Fax (D) :   +49 - (0)3 21 21 25 22 44
Fax (FR):   +33 - (0)9 58 10 27 44
email:      rai...@krugs.de

Skype:      RMkrug
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAkz4siUACgkQoYgNqgF2egrxWgCeOoIBvDny6tyGBPXZIbQn+arC
KxUAn2J7hFZ2Elx/pRJVCdLcECT0X3XE
=E2P4
-----END PGP SIGNATURE-----

Reply via email to