[Search for users] [Overall Top Noters] [List of all Conferences] [Download this site]

Conference orarep::nomahs::odbc_rdb_driver

Title:DEC ODBC Driver
Notice:DEC ODBC Driver V2.0 Now Available
Moderator:SQLSRV::MAVRIS
Created:Tue Dec 29 1992
Last Modified:Fri Jun 06 1997
Last Successful Update:Fri Jun 06 1997
Number of topics:1357
Total number of notes:4864

1307.0. "Translation options" by UKVMS3::PJACKSON (Oracle UK Rdb Support) Mon Mar 03 1997 12:27

    A customer has asked about translating from ISOLATIN2 to MSWIN1250
    using the translation options feature provided by the ODBC
    Administrator. I.e. what does he need to set the translation library
    and option fields to?
    
    Peter
T.RTitleUserPersonal
Name
DateLines
1307.1UKVMS3::PJACKSONOracle UK Rdb SupportWed Mar 05 1997 09:299
    Looking at the Microsoft documentation and the Oracle7 ODBC driver, it
    seems that what the customer needs is a .DLL for doing the
    translation. Where would he get one from?
    
    The Oracle7 ODBC driver seems to use the dialogue box supplied by ODBC
    2.0 for selecting a translator. Will the ODBC driver for Rdb be changed
    to use this (SQLGetTranslator)? Should I enter a BUG to request this?
    
    Peter
1307.2This should be easierUKVMS3::PJACKSONOracle UK Rdb SupportWed Mar 05 1997 10:027
    It seems that they need the Microsoft Code Page Translator. Is this
    suppplied with the Rdb Odbc driver? It does seem to be with the Oracle7
    one, so the customer could try copying that off the web. There are
    several options for it. One seems to do the translation from ISO Latin2
    that they want. What option number is this?
    
    Peter
1307.3i just love duplicate calls....M5::JHAYTERThu Mar 06 1997 16:3622
Hey Peter - (or anyone else),

Your customer apparently didn't like your answer or before you gave to them
they posted the same question in our supportlink page.  Since some kind of
reply needs to be made, have you found out anything more?

>    It seems that they need the Microsoft Code Page Translator.
how did you figure this out?
what is the name of the this dll?
did you find out what the option number is?

FWIW: i did a search across all files looking for isolatin2, found 1 dll
containing it, so..  put in c:\window\system\what_ever_it_was in a
datasource and fire it off.  immediately got odbc call failed
[oracle][odbc]unable to load translation dll (#0)

so we try or the other stuff that MS supplies is trying?
who knows, is it us or them trying?

    
Jerry
1307.4UKVMS3::PJACKSONOracle UK Rdb SupportFri Mar 07 1997 07:5734
>Your customer apparently didn't like your answer or before you gave to them
>they posted the same question in our supportlink page.  Since some kind of
>reply needs to be made, have you found out anything more?
         
    I've not actually spoken to the customer, just to Oracle Czech support.
    I haven't found anything more. I was planning to BUG this today.
    
>>    It seems that they need the Microsoft Code Page Translator.
>how did you figure this out?
    
    I spoke to someone who does Oracle7 ODBC support. When configuring a
    dataset yopu can bring up a dialogue box for selecting a translator.
    The only options where none or the Microsoft Code Page Translator. If
    you select it you are given a list of options to choose from. One seems
    to be the one wanted. A picture of the dialogue box appears in the ODBC
    Technical Reference manual.
    
>what is the name of the this dll?
    
    MSCPXL32.DLL
    
>did you find out what the option number is?
    
    No.

>so we try or the other stuff that MS supplies is trying?
>who knows, is it us or them trying?
    
    Since the dialogue box appears in the Microsoft manual, and the .DLL
    name begins with MS, it looks like they supply it. However, I guess
    that we should ship it with our driver.
    
    Peter
    
1307.5BugNo:463143UKVMS3::PJACKSONOracle UK Rdb SupportMon Mar 10 1997 13:251
    
1307.6M5::PSOEHLThe area is secured, Ripley!!!Tue Mar 25 1997 22:318
    So, Peter, do you know what the answer is for option and library.  I
    need to provide a response in MetaLink Forum for this.  I guess the
    .dll mention in an earlier response would be the answer for the
    library.  How about the number for the option?
    
    Thanks,
    
    
1307.7UKVMS3::PJACKSONOracle UK Rdb SupportWed Mar 26 1997 08:263
    Sorry, I don't know the option number. I will chase the bug.
    
    Peter
1307.8UKVMS3::PJACKSONOracle UK Rdb SupportThu Mar 27 1997 10:174
    It looks like the question in the MetaLink Forum came from the same source
    as my TAR. I.e. Czech Rdb support.
    
    Peter
1307.9UKVMS3::PJACKSONOracle UK Rdb SupportWed Apr 02 1997 07:0020
    I received this message today.

    I have already found the solution of this problem.
The "Translation Library" is

    c:\windows\system\mscpxl32.dll

and the "Translation Option" is for instance

    12500859.cpx

It is the name of a file stored in the same directory as the translation
library and this file defines the conversion table between two national
character sets. I have not found this file for ISO Latin-2 and MS Windows
Latin-2 character sets, but it was not very difficult to create it. The
naming convention used for this file is the number of code page 1 (1250)
and the number of code page 2 (0859) and an extension ".cpx"
   
   Peter