On Wed, Sep 19, 2012 at 09:49:29PM +0000, Pavel Baturko wrote:
Thanks for advises! New version: if received text in UCS2, convert it to UTF-8, then check if console supports UTF-8, if yes - print message in vty as usual, if not - print message in hex.
Hi Pavel,
thanks for updating the patch. Could you remove the calls to setlocale and move the actual ucs->utf8 folding into a new subroutine.
thanks
holger