Skip Menu |

This queue is for tickets about the Encode CPAN distribution.

Report information
The Basics
Id: 17103
Status: resolved
Priority: 0/
Queue: Encode

People
Owner: Nobody in particular
Requestors: SREZIC [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: Wishlist
Broken in: 2.14
Fixed in: (no value)



Subject: Aliases for encode/decode
I would like to have aliases for the encode and decode functions: octets_to_characters and characters_to_octets. I really cannot remember which is decode and which is encode. Regards, Slaven
On Tue Jan 17 06:19:49 2006, guest wrote: Show quoted text
> I would like to have aliases for the encode and decode functions: > octets_to_characters and characters_to_octets. I really cannot remember > which is decode and which is encode. > > Regards, > Slaven
Sounds reasonable but octets_to_characters() and characters_to_octets() seems too long to use. How about bytes2str() and str2bytes() ? Dan the Encode Maintainer
CC: SREZIC [...] cpan.org
Subject: Re: [rt.cpan.org #17103] Aliases for encode/decode
Date: 08 Apr 2006 10:18:54 +0200
To: bug-Encode [...] rt.cpan.org
From: Slaven Rezic <slaven [...] rezic.de>
" via RT" <bug-Encode@rt.cpan.org> writes: Show quoted text
> <URL: http://rt.cpan.org/Ticket/Display.html?id=17103 > > > On Tue Jan 17 06:19:49 2006, guest wrote:
> > I would like to have aliases for the encode and decode functions: > > octets_to_characters and characters_to_octets. I really cannot remember > > which is decode and which is encode. > > > > Regards, > > Slaven
> > Sounds reasonable but octets_to_characters() and characters_to_octets() seems too long to use. > How about bytes2str() and str2bytes() ?
I prefer to go with the well-documented terms "octets" and "characters". Maybe octets2chars and chars2octets? Regards, Slaven -- Slaven Rezic - slaven <at> rezic <dot> de Tk-AppMaster: a perl/Tk module launcher designed for handhelds http://tk-appmaster.sf.net
CC: SREZIC [...] cpan.org
Subject: Re: [rt.cpan.org #17103] Aliases for encode/decode
Date: 08 Apr 2006 10:35:23 +0200
To: bug-Encode [...] rt.cpan.org
From: Slaven Rezic <slaven [...] rezic.de>
" via RT" <bug-Encode@rt.cpan.org> writes: Show quoted text
> <URL: http://rt.cpan.org/Ticket/Display.html?id=17103 > > > On Tue Jan 17 06:19:49 2006, guest wrote:
> > I would like to have aliases for the encode and decode functions: > > octets_to_characters and characters_to_octets. I really cannot remember > > which is decode and which is encode. > > > > Regards, > > Slaven
> > Sounds reasonable but octets_to_characters() and characters_to_octets() seems too long to use. > How about bytes2str() and str2bytes() ? >
Oh, I see: too late, Encode 2.15 is out :-) -- Slaven Rezic - slaven <at> rezic <dot> de tkruler - Perl/Tk program for measuring screen distances http://ptktools.sourceforge.net/#tkruler