Date: Wed, 19 Feb 2020 15:47:02 +0000 From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 244226] [patch] syslogd converts all 8-bit chars to M-x sequences Message-ID: <bug-244226-227-TD3q0iYSWb@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-244226-227@https.bugs.freebsd.org/bugzilla/> References: <bug-244226-227@https.bugs.freebsd.org/bugzilla/>
next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D244226 --- Comment #3 from J.R. Oldroyd <fbsd@opal.com> --- If you want to test this code, simplest way is this: 1. Add to /etc/rc.conf: syslogd_env=3D"LC_CTYPE=3DC.UTF-8" 2. Restart syslogd. 3. Run: echo '\xe0\xb8\xaa\xe0\xb8\xa7\xe0\xb8\xb1\xe0\xb8\xaa\xe0\xb8\x94\xe0\xb8\xb5' | logger 4. Look at /var/log/messages. You should see "=E0=B8=AA=E0=B8=A7=E0=B8=B1= =E0=B8=AA=E0=B8=94=E0=B8=B5" (hello in Thai). --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-244226-227-TD3q0iYSWb>