David,

I have now added the functionality to escape 8-bit characters. Patch is here:

http://git.adiscon.com/?p=rsyslog.git;a=commitdiff;h=85045270f69e4dcb25c409c9
661e96e3172d7f30

I hope it is useful.

I plan to release a new v5 devel soon, probably tomorrow or friday.

Rainer

> -----Original Message-----
> From: [email protected] [mailto:rsyslog-
> [email protected]] On Behalf Of [email protected]
> Sent: Friday, January 22, 2010 11:07 AM
> To: rsyslog-users
> Subject: Re: [rsyslog] PostgreSQL: Problems with character encoding
> 
> On Fri, 22 Jan 2010, Rainer Gerhards wrote:
> 
> >> my thought is that just like we have a filter to change control
> >> characters
> >> to escape sequences, it would be good to have a filter to escape
> non-
> >> ascii
> >> characters. this will mangle other character sets, but they are
> unlikly
> >> to
> >> go through cleanly anyway.
> >
> > Just to be on the right path, you suggest escaping charactes with hex
> values
> >> 7f?
> 
> correct. they can cause as much grief (or more) than control
> characters.
> 
> since control characters get escaped by default, rsyslog will already
> mangle UTF8 text sent to it if the final byte is in that range.
> 
> David Lang
> _______________________________________________
> rsyslog mailing list
> http://lists.adiscon.net/mailman/listinfo/rsyslog
> http://www.rsyslog.com
_______________________________________________
rsyslog mailing list
http://lists.adiscon.net/mailman/listinfo/rsyslog
http://www.rsyslog.com

Reply via email to