Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 10 Apr 2002 22:17:47 -0400
From:      "Dan Langille" <dan@langille.org>
To:        chat@freebsd.org
Subject:   what are these characters please?
Message-ID:  <20020411021840.42AC93F30@bast.unixathome.org>

next in thread | raw e-mail | index | archive | help
Hi folks,

I found these characters in a recent cvs-all commit:

20 20 20 20 20 5b 53 75  62 6d 69 74 74 65 64 20  |     [Submitted |
62 79 3a 20 56 69 6c 6c  65 20 53 6b 79 74 74 1b  |by: Ville Skytt.|
2c 41 64 1b 28 42 20 3c  76 69 6c 6c 65 2e 73 6b  |,Ad.(B <ville.sk|
79 74 74 61 40 69 6b 69  2e 66 69 3e 5d 0a 20 20  |ytta@iki.fi>].  |

When viewed under vi, I get:

Ville Skytt^[,Ad^[(B <ville.skytta@iki.fi>

From less I get:

Ville SkyttESC,AdESC(B <ville.skytta@iki.fi>

The original email is at: 
http://docs.freebsd.org/cgi/getmsg.cgi?fetch=1425317+0+current/cvs-all+raw 
but it appears as "Ville Skyttd <ville.skytta@iki.fi>" which is presumably 
what I also want.

background: As part of FreshPorts, the cvs-all messages are parsed into an 
XML document.  These characters are causing grief and I'm not sure how to 
encode them or get the perl module XML::Writer to handle them so 
XML::Parser does not barf on them.  

FWIW: the xml is <?xml version="1.0" encoding="ISO-8859-1"?> and I thought 
that encoding would handle those characters.

thanks.
-- 
Dan Langille
The FreeBSD Diary - http://freebsddiary.org/ - practical examples


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-chat" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020411021840.42AC93F30>