samba-3.0.0beta1 codeset issue on non-Linux
herb at sgi.com
Mon Jun 16 20:04:27 GMT 2003
IRIX does not seem to support any UCS-2LE codesets though it does
support UCS-2. (I assume the UCS-2LE is little-endian and the fact
that IRIX is big-endian may be the reason). Also I only see support
for a codeset called DOS855 and nothing with an 850 in it. I think
we need to make "required codesets" a part of samba.
Richard Sharpe wrote:
> On Mon, 16 Jun 2003, Steve Langasek wrote:
> > On Mon, Jun 16, 2003 at 09:58:16AM -0700, Richard Sharpe wrote:
> > > > But now let's step back from that brink.
> > > >
> > > > Is there not some way that we could let Samba choose and use a wide
> > > > variety of "iconv"? And that we provide some "fall back" options (and a
> > > > structure?) to handle as many of the common cases as often as possible.
> > > > Such as a code page to handle CP850<->UTF8 and/or CP850<->UCS-2LE, and
> > > > others that folk might contribute? (Would this be re-inventing a simpler,
> > > > restricted GNU-iconv?)
> > > > See also Richard Sharpe's parallel thread about BSD.
> > > In fact, I believe that the native iconv on both Solaris and FreeBSD allow
> > > for CP850<->UTF8 and CP850<->UCS-2LE, but neither seem to handle US-ASCII
> > > (ASCII) to UCS-2LE, which is the test in Configire.
> > David's tests with Solaris iconv seem to suggest otherwise:
> > CP850<->UTF8 is supported, but CP850<->UCS-2LE is not, and this seems to
> > be a problem in light of this code from lib/charcnv.c --
> OK, in having a look at /usr/lib/iconv/*.so, it does indeed seem like
> CP850<->UCS-2LE is not supported on the Solaris system I have access to,
> but I also can't find any UCS-2LE%CP850.so files. However, it is possible
> that there is a mapping by going IBM-850<->8859-1<->UCS-2LE and so on ...
> Hmmm, the picture seems more complex than that ...
> Richard Sharpe, rsharpe[at]ns.aus.com, rsharpe[at]samba.org,
> sharpe[at]ethereal.com, http://www.richardsharpe.com
Herb Lewis Silicon Graphics
Networking Engineer 1600 Amphitheatre Pkwy MS-510
Strategic Software Organization Mountain View, CA 94043-1351
herb at sgi.com Tel: 650-933-2177
http://www.sgi.com Fax: 650-932-2177
PGP Key: 0x8408D65D
More information about the samba-technical