Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 26 Oct 2010 08:10:09 GMT
From:      "Vadim Petrjaev" <vpetrjaev@yandex.ru>
To:        freebsd-bugs@FreeBSD.org
Subject:   Re: bin/129248: [request] FreeBSD's syslog(8) can't support log encoding in UTF-8
Message-ID:  <201010260810.o9Q8A9T1031634@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
The following reply was made to PR bin/129248; it has been noted by GNATS.

From: "Vadim Petrjaev" <vpetrjaev@yandex.ru>
To: <bug-followup@FreeBSD.org>,
	<quakelee@geekcn.org>
Cc:  
Subject: Re: bin/129248: [request] FreeBSD's syslog(8) can't support log encoding in UTF-8
Date: Tue, 26 Oct 2010 11:46:23 +0400

 Это составное сообщение в формате MIME.
 
 ------=_NextPart_000_0007_01CB7503.753DB0C0
 Content-Type: text/plain;
 	charset="koi8-r"
 Content-Transfer-Encoding: quoted-printable
 
 Hello!
 
 =20
 
 My proposal, to close request.
 
 =20
 
 UTF-8 looks fine in logs, in case of -8 flag for syslogd specified.
 
 For example, in rc.conf:
 
 syslogd_flags=3D"-8"
 
 =20
 
 =20
 
 Example:
 
 Default settings:=20
 
 Oct 26 11:38:25 srv fetchmail[1487]: awakened at =
 =D7.M-^B=CF.M-^@=CE=C9=CB, 26
 =CF=CB.M-^B.M-^O=C2.M-^@.M-^O 2010 =C7. 11:38:25
 
 Oct 26 11:38:26 srv fetchmail[1487]: sleeping at =
 =D7.M-^B=CF.M-^@=CE=C9=CB, 26
 =CF=CB.M-^B.M-^O=C2.M-^@.M-^O 2010 =C7. 11:38:26 for 120 seconds
 
 =20
 
 -8 flag specified:
 
 Oct 26 11:42:27 srv fetchmail[1487]: awakened at =D7=D4=CF=D2=CE=C9=CB, =
 26 =CF=CB=D4=D1=C2=D2=D1 2010 =C7.
 11:42:27
 
 Oct 26 11:42:27 srv fetchmail[1487]: sleeping at =D7=D4=CF=D2=CE=C9=CB, =
 26 =CF=CB=D4=D1=C2=D2=D1 2010 =C7.
 11:42:27 for 120 seconds
 
 =20
 
 =20
 
 Best regards, Vadim
 
 =20
 
 =20
 
 
 ------=_NextPart_000_0007_01CB7503.753DB0C0
 Content-Type: text/html;
 	charset="koi8-r"
 Content-Transfer-Encoding: quoted-printable
 
 <html xmlns:v=3D"urn:schemas-microsoft-com:vml" =
 xmlns:o=3D"urn:schemas-microsoft-com:office:office" =
 xmlns:w=3D"urn:schemas-microsoft-com:office:word" =
 xmlns:m=3D"http://schemas.microsoft.com/office/2004/12/omml" =
 xmlns=3D"http://www.w3.org/TR/REC-html40">;
 
 <head>
 <meta http-equiv=3DContent-Type content=3D"text/html; charset=3Dkoi8-r">
 <meta name=3DGenerator content=3D"Microsoft Word 12 (filtered medium)">
 <style>
 <!--
  /* Font Definitions */
  @font-face
 	{font-family:Calibri;
 	panose-1:2 15 5 2 2 2 4 3 2 4;}
 @font-face
 	{font-family:Tahoma;
 	panose-1:2 11 6 4 3 5 4 4 2 4;}
  /* Style Definitions */
  p.MsoNormal, li.MsoNormal, div.MsoNormal
 	{margin:0cm;
 	margin-bottom:.0001pt;
 	font-size:11.0pt;
 	font-family:"Calibri","sans-serif";}
 a:link, span.MsoHyperlink
 	{mso-style-priority:99;
 	color:blue;
 	text-decoration:underline;}
 a:visited, span.MsoHyperlinkFollowed
 	{mso-style-priority:99;
 	color:purple;
 	text-decoration:underline;}
 p.MsoAcetate, li.MsoAcetate, div.MsoAcetate
 	{mso-style-priority:99;
 	mso-style-link:"=F4=C5=CB=D3=D4 =D7=D9=CE=CF=D3=CB=C9 =FA=CE=C1=CB";
 	margin:0cm;
 	margin-bottom:.0001pt;
 	font-size:8.0pt;
 	font-family:"Tahoma","sans-serif";}
 span.EmailStyle17
 	{mso-style-type:personal-compose;
 	font-family:"Calibri","sans-serif";
 	color:windowtext;}
 span.a
 	{mso-style-name:"=F4=C5=CB=D3=D4 =D7=D9=CE=CF=D3=CB=C9 =FA=CE=C1=CB";
 	mso-style-priority:99;
 	mso-style-link:"=F4=C5=CB=D3=D4 =D7=D9=CE=CF=D3=CB=C9";
 	font-family:"Tahoma","sans-serif";}
 .MsoChpDefault
 	{mso-style-type:export-only;}
 @page Section1
 	{size:612.0pt 792.0pt;
 	margin:2.0cm 42.5pt 2.0cm 3.0cm;}
 div.Section1
 	{page:Section1;}
 -->
 </style>
 <!--[if gte mso 9]><xml>
  <o:shapedefaults v:ext=3D"edit" spidmax=3D"1026" />
 </xml><![endif]--><!--[if gte mso 9]><xml>
  <o:shapelayout v:ext=3D"edit">
   <o:idmap v:ext=3D"edit" data=3D"1" />
  </o:shapelayout></xml><![endif]-->
 </head>
 
 <body lang=3DRU link=3Dblue vlink=3Dpurple>
 
 <div class=3DSection1>
 
 <p class=3DMsoNormal><span lang=3DEN-US>Hello!<o:p></o:p></span></p>
 
 <p class=3DMsoNormal><span lang=3DEN-US><o:p>&nbsp;</o:p></span></p>
 
 <p class=3DMsoNormal><span lang=3DEN-US>My proposal, to close =
 request.<o:p></o:p></span></p>
 
 <p class=3DMsoNormal><span lang=3DEN-US><o:p>&nbsp;</o:p></span></p>
 
 <p class=3DMsoNormal><span lang=3DEN-US>UTF-8 looks fine in logs, in =
 case of -8
 flag for syslogd specified.<o:p></o:p></span></p>
 
 <p class=3DMsoNormal><span lang=3DEN-US>For example, in =
 rc.conf:<o:p></o:p></span></p>
 
 <div style=3D'mso-element:para-border-div;border-top:solid windowtext =
 1.0pt;
 border-left:none;border-bottom:solid windowtext 1.0pt;border-right:none;
 padding:1.0pt 0cm 1.0pt 0cm'>
 
 <p class=3DMsoNormal style=3D'border:none;padding:0cm'><span =
 lang=3DEN-US>syslogd_flags=3D&#8221;-8&#8221;<o:p></o:p></span></p>
 
 <p class=3DMsoNormal style=3D'border:none;padding:0cm'><span =
 lang=3DEN-US><o:p>&nbsp;</o:p></span></p>
 
 </div>
 
 <p class=3DMsoNormal><span lang=3DEN-US><o:p>&nbsp;</o:p></span></p>
 
 <p class=3DMsoNormal><span lang=3DEN-US>Example:<o:p></o:p></span></p>
 
 <p class=3DMsoNormal><span lang=3DEN-US>Default settings: =
 <o:p></o:p></span></p>
 
 <p class=3DMsoNormal><span lang=3DEN-US>Oct 26 11:38:25 srv =
 fetchmail[1487]:
 awakened at =D7.M-^B=CF.M-^@=CE=C9=CB, 26 =CF=CB.M-^B.M-^O=C2.M-^@.M-^O =
 2010 =C7. 11:38:25<o:p></o:p></span></p>
 
 <p class=3DMsoNormal><span lang=3DEN-US>Oct 26 11:38:26 srv =
 fetchmail[1487]:
 sleeping at =D7.M-^B=CF.M-^@=CE=C9=CB, 26 =CF=CB.M-^B.M-^O=C2.M-^@.M-^O =
 2010 =C7. 11:38:26 for
 120 seconds<o:p></o:p></span></p>
 
 <p class=3DMsoNormal><span lang=3DEN-US><o:p>&nbsp;</o:p></span></p>
 
 <p class=3DMsoNormal><span lang=3DEN-US>-8 flag =
 specified:<o:p></o:p></span></p>
 
 <p class=3DMsoNormal><span lang=3DEN-US>Oct 26 11:42:27 srv =
 fetchmail[1487]:
 awakened at =D7=D4=CF=D2=CE=C9=CB, 26 =CF=CB=D4=D1=C2=D2=D1 2010 =C7. =
 11:42:27<o:p></o:p></span></p>
 
 <p class=3DMsoNormal><span lang=3DEN-US>Oct 26 11:42:27 srv =
 fetchmail[1487]:
 sleeping at =D7=D4=CF=D2=CE=C9=CB, 26 =CF=CB=D4=D1=C2=D2=D1 2010 =C7. =
 11:42:27 for 120 seconds<o:p></o:p></span></p>
 
 <p class=3DMsoNormal><span lang=3DEN-US><o:p>&nbsp;</o:p></span></p>
 
 <p class=3DMsoNormal><span lang=3DEN-US><o:p>&nbsp;</o:p></span></p>
 
 <p class=3DMsoNormal><span lang=3DEN-US>Best regards, =
 Vadim<o:p></o:p></span></p>
 
 <p class=3DMsoNormal><span lang=3DEN-US><o:p>&nbsp;</o:p></span></p>
 
 <p class=3DMsoNormal><span lang=3DEN-US><o:p>&nbsp;</o:p></span></p>
 
 </div>
 
 </body>
 
 </html>
 
 ------=_NextPart_000_0007_01CB7503.753DB0C0--
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201010260810.o9Q8A9T1031634>