Hi,

On Wed, Mar 27, 2013 at 7:01 AM, Jon Gorman <jonathan.gor...@gmail.com>wrote:

> One piece of advice is not to trust the terminal directly but pipe
> into xxd. (And if possible, just try transforming the offending
> record).  Or use yaz-marcdump -v, which will also give the hex if I
> remember correctly.  (If it's c3 a9 in both cases, you know the
> terminal is at fault)
>

Another trick is to pipe the output through less with the LESSCHARSET
environment variable set to 'ascii'.  Bytes whose value is less than 32 or
greater than 136 will be displayed as reverse-video hexadecimal numbers,
e.g.,

<subfield code="a">Garci<CC><81>a Ma<CC><81>rquez, Gabriel,</subfield>

Regards,

Galen
-- 
Galen Charlton
gmcha...@gmail.com

Reply via email to