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/>
index | next in thread | previous in thread | raw e-mail
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=244226 --- 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="LC_CTYPE=C.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 "สวัสดี" (hello in Thai). -- You are receiving this mail because: You are the assignee for the bug.help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-244226-227-TD3q0iYSWb>
