Re: [libpqxx-general] Problem with unicode

2006-04-10 Thread Bart Samwel
Roman Shchugarev wrote: > Well my UTF-8 convertion worked, but now I am facing another difficulty, > this might not be libpqxx related, but I am not sure > > At this point all the convertions work fine, (Using MFC 7.1 libraries as > DLLs) > When I tried to switch to using static MFC libraries I

Re: [libpqxx-general] Problem with unicode

2006-04-10 Thread Roman Shchugarev
Well my UTF-8 convertion worked, but now I am facing another difficulty, this might not be libpqxx related, but I am not sureAt this point all the convertions work fine, (Using MFC 7.1 libraries as DLLs)When I tried to switch to using static MFC libraries I got my self in a new error, the error occ

Re: [libpqxx-general] Problem with unicode

2006-04-10 Thread Jeroen T. Vermeulen
On Mon, April 10, 2006 04:01, Roman Shchugarev wrote: > Thanks for a tip BART I've managed to get out a Unicode data using > these > simple functions (WideCharToMultiByte/MultiByteToWideChar): > string toNarrowString( const wchar_t* pStr , int len ) , and may depend on your locale.> { > ASSER

Re: [libpqxx-general] Problem with unicode

2006-04-09 Thread Roman Shchugarev
Hello Bart,Sunday, April 9, 2006, 10:57:00 PM, you wrote:> Roman Shchugarev wrote:>> Hello libpqxx-general,>> >>   I am developing client application under Win32  using>>   Visual Studio .NET 2k3 the problem I'm facing is:>>   I am not able to get Unicode data from Postgres DB server. What>>   migh

Re: [libpqxx-general] Problem with unicode

2006-04-09 Thread Bart Samwel
Roman Shchugarev wrote: > Hello libpqxx-general, > > I am developing client application under Win32 using > Visual Studio .NET 2k3 the problem I'm facing is: > I am not able to get Unicode data from Postgres DB server. What > might be the problem? > When compiling with unicode libraries

[libpqxx-general] Problem with unicode

2006-04-09 Thread Roman Shchugarev
Hello libpqxx-general,  I am developing client application under Win32  using  Visual Studio .NET 2k3 the problem I'm facing is:  I am not able to get Unicode data from Postgres DB server. What  might be the problem?  When compiling with unicode libraries, the linker says that there  is an undefine