Support for non UTF8 encodings

2010-02-26 Thread Julien Valroff
Hi, A user recently reported a bug[0] regarding localized messages from rkhunter not being correctly displayed with other encodings than UTF-8. This is simply caused by the translations being encoded in UTF-8. UTF-8 being the default encoding for new installations, I am not sure whether other en

Re: Support for non UTF8 encodings

2010-02-26 Thread Roger Leigh
On Fri, Feb 26, 2010 at 03:35:20PM +0100, Julien Valroff wrote: > A user recently reported a bug[0] regarding localized messages from > rkhunter not being correctly displayed with other encodings than UTF-8. > > This is simply caused by the translations being encoded in UTF-8. > > UTF-8 being the

Re: Support for non UTF8 encodings

2010-02-26 Thread Roger Leigh
On Fri, Feb 26, 2010 at 04:14:27PM +, Roger Leigh wrote: > On Fri, Feb 26, 2010 at 03:35:20PM +0100, Julien Valroff wrote: > > A user recently reported a bug[0] regarding localized messages from > > rkhunter not being correctly displayed with other encodings than UTF-8. > > > > This is simply

Re: Support for non UTF8 encodings

2010-02-26 Thread Ersek, Laszlo
On Fri, 26 Feb 2010, Roger Leigh wrote: [...] the localised messages are not being recoded from UTF-8 to the locale charmap at runtime, and this is the cause of the corrupted output. This is a bug. Localisation systems such as gettext (what pretty much everything uses) will automatically rec

Re: Support for non UTF8 encodings

2010-02-26 Thread Julien Valroff
Le vendredi 26 février 2010 à 17:45 +, Roger Leigh a écrit : > On Fri, Feb 26, 2010 at 04:14:27PM +, Roger Leigh wrote: > > On Fri, Feb 26, 2010 at 03:35:20PM +0100, Julien Valroff wrote: > > > A user recently reported a bug[0] regarding localized messages from > > > rkhunter not being corr