Ensure functions in databases with non-ASCII names can be debugged.
authordpage <dpage@a7884b65-44f6-0310-8a51-81a127f17b15>
Wed, 28 May 2008 10:26:16 +0000 (10:26 +0000)
committerdpage <dpage@a7884b65-44f6-0310-8a51-81a127f17b15>
Wed, 28 May 2008 10:26:16 +0000 (10:26 +0000)
git-svn-id: svn://svn.pgadmin.org/trunk/pgadmin3@7317 a7884b65-44f6-0310-8a51-81a127f17b15

CHANGELOG
pgadmin/debugger/dbgPgConn.cpp

index 49a3ee1281d08e2b340c50ff6458213626ba20ec..dc361d0729907ad3b502729a1735d9efa611d51b 100644 (file)
--- a/CHANGELOG
+++ b/CHANGELOG
@@ -36,7 +36,9 @@ Changes
 \r
 Date       Dev Ver    Change details\r
 ---------- --- -----  --------------\r
-2008-05-27 DP  1.8.3  Allow a debugging session to be cancelled correctly on \r
+2008-05-28 DP  1.8.3  Ensure functions in databases with non-ASCII names can be\r
+                      debugged.\r
+2008-05-27 DP  1.8.3  Allow a debugging session to be cancelled correctly on\r
                       windows.\r
 2008-05-23 DP  1.9.0  Allow the treeview nodes to be colour-coded for each\r
                       server, per Michael Glaeseman.\r
index e67605d2c77b22c90f28afe98be44df4dc88bb86..8625205227e8f40e387b623e678328efeaa52e92 100644 (file)
@@ -192,7 +192,7 @@ void dbgPgConn::Init( const wxString &server, const wxString &database, const wx
     connectParams.Trim(false);
 
     m_frame->getStatusBar()->SetStatusText( wxString::Format(_( "Connecting to %s" ), msg.c_str()), 1 );       
-    m_pgConn = PQconnectdb( connectParams.ToAscii());
+    m_pgConn = PQconnectdb( connectParams.mb_str(wxConvUTF8));
 
     if( PQstatus( m_pgConn ) == CONNECTION_OK )
     {