General SQL Development
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
User Name:
Password:
Remember me
 
Go Back   Dev Articles Community ForumsDatabasesGeneral SQL Development

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Display Modes
 
Unread Dev Articles Community Forums Sponsor:
  #1  
Old March 10th, 2004, 07:17 AM
La-Viva-Luca La-Viva-Luca is offline
Registered User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Mar 2004
Posts: 4 La-Viva-Luca User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Question wrong characters returned from oracle

Hi,

I created an rdo connection to an oracle database to read out the tables and records.
Always worked fine. Now I used the same application to read in a similar database, only this one comes from Sweden.
The fields where just plain text is in, returns wrong charachters like a "?" while it should be "ִ ".
I read somewhere about OEMTOANSI, but cant find any details...

Global cn As New rdoConnection
cn.Connect = "uid=system;pwd=manager;" _
& "driver={Microsoft ODBC Driver for Oracle Version 1};connectstring=intralink;"
cn.CursorDriver = rdUseOdbc
cn.EstablishConnection rdDriverNoPrompt


Above is the way I make a connection right now, this way always works perfect, but it does mess up the characters.

Any ideas or help would be great...........

Reply With Quote
  #2  
Old March 10th, 2004, 02:32 PM
merliin's Avatar
merliin merliin is offline
Contributing User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Feb 2004
Location: Melbourne, Australia
Posts: 30 merliin User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 5
Although it could be a language issue in oracle, it's more likely a codepage problem on the computer displaying the language. I assume you're not using some obscure font that don't support sweedish.
I have the same problem with .no charsets זרו on an english codepage.
Try to ensure that the codepage is set correctly, or that you set it correctly if necessary.

Reply With Quote
  #3  
Old March 12th, 2004, 02:43 AM
La-Viva-Luca La-Viva-Luca is offline
Registered User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Mar 2004
Posts: 4 La-Viva-Luca User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Merlin, thanks for getting me into a new approach for my problem. However, I'm not there still, not in a long shot.

A program what comes with the database is seing the characters as they should be, in Swedish, as meant to be. With the idea,that it might be a codepage issue, I took another look and figured out that VB6 is mainly an ANSI compatible application while databases like Oracle itself is an UNICODE compatible application. The thing is, that strings read out from an UNICODE database with characters in the higher part as in ANSI will come back as questionmarks. I tried to get a hex output from the database to convert them myself but with the resultset i created ( with use of sql statements ) it already is messed up.

Any help would be much appreciated.....

Last edited by La-Viva-Luca : March 16th, 2004 at 05:34 AM. Reason: To bring the post back on top of the list

Reply With Quote
  #4  
Old March 16th, 2004, 05:35 AM
La-Viva-Luca La-Viva-Luca is offline
Registered User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Mar 2004
Posts: 4 La-Viva-Luca User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Please anyone .....


Any help would be much appreciated....

Reply With Quote
Reply

Viewing: Dev Articles Community ForumsDatabasesGeneral SQL Development > wrong characters returned from oracle


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


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
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 4 hosted by Hostway
Stay green...Green IT