The Server Status hangs if the logs contain invalid characters - Mailing list pgadmin-support

From Marko Mahnič
Subject The Server Status hangs if the logs contain invalid characters
Date
Msg-id 36E3C662B100D2469A6A1BB59A93DA4C26F8CDEA@DFGDC.dfglocal.local
Whole thread Raw
List pgadmin-support
Version: pgAdmin 1.18.1
OS: server: Windows Server, client: Windows 7
Encodings: The database encoding is UTF8 but clients work with cp1250 encoding
Message: ERROR: invalid byte sequence for encoding "UTF8": 0xc4

If the logs contain invalid UTF8 cracters, pgAdmin starts to show error messages. At the beginning only one message is
shown.When OK button is clicked, another messge is shown. This goes one indefinitely. Sometimes new messages continue
toappear without user interaction  (screenshot). The application has to be killed with a task manager. 

Probable cause: An application sends a request encoded with cp1250 characers (eg. 0xc4) to the server. If this request
failsit is written to the log. When pgAdmin reads (displays) the log it detects an encoding error and pops up a
message.

Possible resoultion: Silently replace invalid bytes with '?' in the Server Status subsystem.

Marko Mahnič

Attachment

pgadmin-support by date:

Previous
From: "David Paulo"
Date:
Subject: PGAdmin debugger
Next
From: Wendell Borges
Date:
Subject: Keyboard Layout US International - PC