[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: uuencode: multi-bytes char in remote file name contains bytes >0x80
From: |
Bruno Haible |
Subject: |
Re: uuencode: multi-bytes char in remote file name contains bytes >0x80 |
Date: |
Sat, 9 Jul 2011 01:52:11 +0200 |
User-agent: |
KMail/1.9.9 |
Bruce Korb wrote:
> I'd have this wired just as soon as I could figure out what
> string to pass to iconv_open(3p). Pointers certainly appreciated!
This would be locale_charset () from the gnulib module 'localcharset'.
Additionally, instead of doing the iconv() calls yourself - the error
handling can be complicated - you could make use of a "streaming iconv",
that is, an stream that is based on another stream and does an iconv()
conversion loop on the fly.
For output streams, this exists in gettext [1][2]; for input stream
it should work in a similar way.
Bruno
[1]
http://git.savannah.gnu.org/gitweb/?p=gettext.git;a=blob_plain;f=gnulib-local/lib/iconv-ostream.oo.h;hb=HEAD
[2]
http://git.savannah.gnu.org/gitweb/?p=gettext.git;a=blob_plain;f=gnulib-local/lib/iconv-ostream.oo.c;hb=HEAD
--
In memoriam Jean Moulin <http://en.wikipedia.org/wiki/Jean_Moulin>
- Re: uuencode: multi-bytes char in remote file name contains bytes >0x80, (continued)
- Re: uuencode: multi-bytes char in remote file name contains bytes >0x80, Bruno Haible, 2011/07/06
- Re: uuencode: multi-bytes char in remote file name contains bytes >0x80, Bruce Korb, 2011/07/06
- Re: uuencode: multi-bytes char in remote file name contains bytes >0x80, Bruno Haible, 2011/07/06
- Re: uuencode: multi-bytes char in remote file name contains bytes >0x80, Eric Blake, 2011/07/06
- Re: uuencode: multi-bytes char in remote file name contains bytes >0x80, Bruce Korb, 2011/07/08
- Re: uuencode: multi-bytes char in remote file name contains bytes >0x80, Eric Blake, 2011/07/08
- Re: uuencode: multi-bytes char in remote file name contains bytes >0x80, Eli Zaretskii, 2011/07/09
- Re: file names encoding on Windows, Bruno Haible, 2011/07/09
- Re: file names encoding on Windows, Eli Zaretskii, 2011/07/09
- Re: file names encoding on Windows, Bruce Korb, 2011/07/09
- Re: uuencode: multi-bytes char in remote file name contains bytes >0x80,
Bruno Haible <=
Re: uuencode: multi-bytes char in remote file name contains bytes >0x80, Bruce Korb, 2011/07/03
- Re: uuencode: multi-bytes char in remote file name contains bytes >0x80, Bruno Haible, 2011/07/03
- Re: uuencode: multi-bytes char in remote file name contains bytes >0x80, Eli Zaretskii, 2011/07/04
- Re: uuencode: multi-bytes char in remote file name contains bytes >0x80, Bruno Haible, 2011/07/04
- Re: uuencode: multi-bytes char in remote file name contains bytes >0x80, Eli Zaretskii, 2011/07/04
- Re: uuencode: multi-bytes char in remote file name contains bytes >0x80, ��叁, 2011/07/05
- Re: uuencode: multi-bytes char in remote file name contains bytes >0x80, Bruce Korb, 2011/07/05
- Re: uuencode: multi-bytes char in remote file name contains bytes >0x80, Eric Blake, 2011/07/05
- Re: uuencode: multi-bytes char in remote file name contains bytes >0x80, John Cowan, 2011/07/05
- Re: uuencode: multi-bytes char in remote file name contains bytes >0x80, Eric Blake, 2011/07/05