Results 1 to 3 of 3

Thread: How to change encoding?

  1. #1

    Thread Starter
    New Member
    Join Date
    Jun 2003
    Location
    lithuania
    Posts
    9

    How to change encoding?

    Hi,

    I have an sql query

    query = "insert into ....."
    qry.CommandText = query
    qry.ExecuteNonQuery()

    And I want to change encoding in sql query, how can I do that?

  2. #2
    Banished Cander's Avatar
    Join Date
    Dec 2000
    Location
    Why do you care?
    Posts
    6,913
    huh? What do you mean encoing?
    Stack Overflow
    See the features of Visual Studio 2010 and C# 4.0: The 10-4 show on Channel9

  3. #3

    Thread Starter
    New Member
    Join Date
    Jun 2003
    Location
    lithuania
    Posts
    9
    when I insert english text everything is ok, but I want to insert also lithuanian characters. I noticed that dot net by default uses utf-8 and I need this that string would be encoded in windows-1257 encoding, because Sybase DB inserts wrong characters.
    Last edited by NewOne; Jun 17th, 2003 at 09:53 AM.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width