Local charset and SWAT
SATOH Fumiyasu
fumiya at cij.co.jp
Thu Aug 26 03:50:40 GMT 1999
Jeremy Allison <jallison at cthulhu.engr.sgi.com> wrote:
>> 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.
>
>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).
In HTML, you can specify character set by using <META> tag in <HEAD>. Like this:
<HTML>
<HEAD>
<META http-equiv="Content-Type" content="text/html; charset=ISO-2022-JP">
<TITLE>HTML in ISO-2022-JP</TITLE>
</HEAD>
<BODY>
<P>Test messages in ISO-2022-JP</P>
</BODY>
</HTML>
In HTTP, using Content-Type header with charset:
HTTP/1.1 200 OK
Content-Type: text/html; charset=ISO-2022-JP
BODY PART...
-- >8 -- signature -- >8 --
FROM : SATOH Fumiyasu <fumiya at cij.co.jp>
WEB : http://www.bento.ad.jp/~fumiya/
WEB(LAN): http://kumasun.si.ykhm.cij.co.jp/
SAMBA : http://samba.bento.ad.jp/
More information about the samba-technical
mailing list