Le 6 févr. 04, à 00:10, Rodent of Unusual Size a écrit :
Eric Cholet wrote:
Le 5 févr. 04, à 13:33, Elizabeth Mattijsen a écrit :
Wouldn't something like that be generateble from Encode? Or is
already part of Encode?
It isn't part of Encode, I guess since it has nothing to do with
encodings--
but there is charnames.pm that you can use to get Unicode names:
% perl -e 'use charnames(); print charnames::viacode(0x01)'
START OF HEADING
true enough -- but there doesn't appear to be anything that
handles the old 2-to-3-character names (ACK, NAK, XOFF, DEL,
et cetera). i have a need for these short versions.
are you suggesting that it's not worth wasting time on a cpan
module for this? or that it should be folded into or namespaced
under charnames? if neither of the above, suggestions for an
appropriate module name are welcome..
I wasn't suggesting anything, only reminding/informing of the
existence of charnames.pm, in case what it provides might be
sufficient for your needs.
--
Eric Cholet