Bug 15301

Summary: Bug in /usr/sbin/syslogd: strips 8th bits, breaking NLS
Product: Base System Reporter: Eugene Grosbein <ports>
Component: binAssignee: freebsd-bugs (Nobody) <bugs>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: 3.3-STABLE   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
file.diff none

Description Eugene Grosbein 1999-12-06 10:10:01 UTC
/usr/sbin/syslogd strips 8th bits from characters. That makes messages 
written in Russian (I suppose other non-English messages are affected too)
unreadable.

Fix: Here is a patch, I use and it's all right; however it's annoying
to apply in after each cvsup.
How-To-Repeat: 
1. Follow instructions in /usr/share/doc/handbook/l10n.html
  and setup KOI8-R locale for console.
2. Say 'logger -s some_russian_words'
3. You will have non-broken line at stdout and broken one (all 8th bits
cleaned) in /var/log/messages
Comment 1 Mike Heffner freebsd_committer freebsd_triage 2001-06-16 06:23:29 UTC
State Changed
From-To: open->closed

Fixed in rev 1.60 of syslogd.c.