Local charset and SWAT

Andrej Borsenkow Andrej.Borsenkow at mow.siemens.ru
Thu Aug 26 07:37:28 GMT 1999

Case 1. In HTTP header Content-Type. This would like

Content-Type: text/html; charset=iso-8859-5

This may be problematical if you use something different than text/html.

Case 2. In HTML document itself, in HEAD part using META keywords. Unfotunately,
here I know too little as well to write offhead.

We can try the former and   when I have time I'll look, what I can do with case
2. May be, case 1 is enough.



> -----Original Message-----
> From: jallison at cthulhu.engr.sgi.com [mailto:jallison at cthulhu.engr.sgi.com]
> Sent: Wednesday, August 25, 1999 11:03 PM
> To: Andrej.Borsenkow at mow.siemens.ru
> Cc: Multiple recipients of list SAMBA-TECHNICAL
> Subject: Re: Local charset and SWAT
> Andrej Borsenkow wrote:
> >
> > Latest additions enable creating some parameters in local character
> set. This
> > means, that user must now select the correct charset when
> editing/viewing the
> > config with SWAT. It may be not the issue with ASCII/Western
> charsets, but e.g.
> > Cyrillic has at least five charsets (koi8-r, koi8-u,
> cp1251,cp866,iso-8859-5).
> > If browser is configured for a different charset, the entered items will be
> > garbage.
> >
> > I strongly suggest, that SWAT returns charset tag in all it's
> message. It should
> > be local charset as configured in smb.conf. It implies, that charset tags be
> > better official registered MIME charset tags or at least the tags,
> used in WWW.
> >
> > This will provide automatic browser configuration (at least, with
> most modern
> > browsers) so that at least display will be correct.
> Sounds good to me. Can you tell me what that tag looks
> like and where it would be output (not knowing much about
> HTML responses).
> Jeremy.
> --------------------------------------------------------
> Buying an operating system without source is like buying
> a self-assembly Space Shuttle with no instructions.
> --------------------------------------------------------

More information about the samba-technical mailing list