How to delete my avatar?
Unicode conversion issue
Hello Guest
  
  • Login
• Register…
• Start blog
  • Who, Where, When
• What can I do?
• What to Read?
  • Polls
• Avatars
• Interests
  • Cities and Countries
• Random blog
• Users search
  • Search
• Games
• Tests
• QAIX
  • Сообщества
• Talxy Chat
• Horoscope
• Online
 
Зарегистрируйся!

QAIX > PostgreSQL database development > Unicode conversion issue 9 March 2004 06:43:33

  Recent blog posts: 
  They have birthday today: 
  Forums:   
  Discuss: 
  Recent forum topics: 
  Recent forum comments:
  Moderators:

Unicode conversion issue

Al Cohen 9 March 2004 06:43:33
 We have a PostgreSQL database in Unicode that I'm trying to read into a
C# application. In theory, the easiest thing to do would be to use the
Beta ODBC Unicode driver or one of the .NET data providers for
PostgreSQL, but these seem to be fairly immature.

So, I'm hoping to use the standard ODBC driver, which seems quite
mature, to read and write to a Unicode database. Can this be done by
properly decoding and encoding?

For starters, I'm wondering if someone can help me to understand just
what the standard psqlODBC is returning to my C# application when I read
a unicode string? The ASCII characters (<128) are returning as ASCII
characters, but the higher characters are turning into 4 unicode
characters, or 8 bytes. My initial thought was that this was UTF-8, but
UTF-8 is maximum 6 bytes.

-------------------­--------(end of broadcast)---------­------------------
TIP 4: Don't 'kill -9' the postmaster

Add comment
 

Add new comment

As:
Login:  Password:  
 
 
  
 
Пожалуйста, относитесь к собеседникам уважительно, не используйте нецензурные слова, не злоупотребляйте заглавными буквами, не публикуйте рекламу и объявления о купле/продаже, а также материалы нарушающие сетевой этикет или УК РФ.


QAIX > PostgreSQL database development > Unicode conversion issue 9 March 2004 06:43:33

see also:
Newbie Question about onPageEnd
FW: co-ordinates and sizes - Urgent.
Page Numbering
пройди тесты:
see also:
Greetings to all!
it's my brother and my band
Harvest your surprise on Thanksgiving…

  Copyright © 2001—2008 QAIX
Idea: Miсhael Monashev
Помощь и задать вопросы можно в сообществе support.qaix.com.
Сообщения об ошибках оставляем в сообществе bugs.qaix.com.
Предложения и комментарии пишем в сообществе suggest.qaix.com.
Информация для родителей.
Write us at:
If you would like to report an abuse of our service, such as a spam message, please .