dbTalk Databases Forums  

[BUGS] problem with Npgsql UNICODE <-> Latin2

mailing.database.pgsql-bugs mailing.database.pgsql-bugs


Discuss [BUGS] problem with Npgsql UNICODE <-> Latin2 in the mailing.database.pgsql-bugs forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Pavel Stehule
 
Posts: n/a

Default [BUGS] problem with Npgsql UNICODE <-> Latin2 - 04-08-2004 , 10:03 AM






Hello

In my ASP.NET application I have problem with execution of
INSERT COMMAND with czech diacritics.

cn = New
NpgsqlConnection("Port=5432;Database=lrr;Server=tr iss.cesta;")
Dim cmd1 As New NpgsqlCommand("set client_encoding TO unicode", cn)
Dim cmd2 as New NpgsqlCommand("INSERT INTO ....")
cmd1.ExecuteNonQuery() 'ok
cmd2.ExecuteNonQuery() 'for ever / PROBLEM, ended on timeout.

If I don't set client_encoding, then insert work, but then I can't use
czech diacritics.

I have npgsql-0.6rc3 on Microsoft .NET

Can You help me
Thank You
Pavel Stehule





---------------------------(end of broadcast)---------------------------
TIP 5: Have you checked our extensive FAQ?

http://www.postgresql.org/docs/faqs/FAQ.html

Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.