Tim Chase wrote:
Careful, Tim: UTF-8 is unsuited to binary editing, because you
can't enter a byte >127 by itself in UTF-8.

True enough.  I tend not to use UTF-8, so I defer to your far
greater experience/knowledge on the matter.

For doing binary editing in vim (a rare occurance, when I'm not
just using a proper hex-editor), I tend to use the xxd that comes
with the windows version (and is usually available on most Linux
systems I've used) for transforming into an ascii representation
of the hex, and translating back.  Details are found at

    :help hex-editing

-tim

PS: a belated welcome back to the list, Tony....hope you had a
relaxing time away.



When compiling Vim, on both Unix and Windows the default is to compile xxd together with Vim. It ends up under src/xxd. Under Unix, "make install" copies it to the same directory as the Vim binary (by default /usr/local/bin).

Yes, I had. You can see some photos I made over there by browsing to http://tonymec.deviantart.com/gallery/ (the latest-but-one photos in the gallery: the "Pujol d'Adalt" series). Click a thumbnail to enlarge it, then click the picture for full view.


Best regards,
Tony.

Reply via email to