[Bug 244226] [patch] syslogd converts all 8-bit chars to M-x sequences
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Wed Feb 19 15:47:04 UTC 2020
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=244226
--- Comment #3 from J.R. Oldroyd <fbsd at 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.
More information about the freebsd-bugs
mailing list