On Wed, Nov 30, 2005 at 07:30:14PM +0100, Adeodato Sim?? wrote:
> * Julian Gilbey [Wed, 30 Nov 2005 18:19:45 +0000]:
> 
> Hi,
> 
> > Oh, foobar.  Just reading RFC 2047, and realising that unless we know
> > the encoding of DEBFULLNAME, we're pretty stuffed.  Do we assume it's
> > UTF-8, or ISO-8859-1, or what?
> 
> > Any suggestions?
> 
>   The user should provide DEBFULLNAME encoded in `locale charmap`. My
>   guess would be that it'll be UTF-8 most of the time, 'cause the
>   changelog, another place where DEBFULLNAME is used, has to be UTF-8
>   (but e.g. a convoluted editor setup would allow for it to be ISO-8859
>   and for the changelog to be written in UTF-8).
> 
>   So either assume UTF-8, or use the value of `locale charmap` (or its
>   equivalent in Perl).

I'm using the value of `locale charmap` (which in Perl is: `locale
charmap` :).

It turns out this unexpectedly took several hours to do: there were
some horrible bugs in the standard tools for doing this encoding
process which rendered it useless.  Anyway, it seems to be working
now!

BTW, how did you come across the command `locale charmap`?  It's not
mentioned in the manpage for locale.

   Julian


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to