Question about Unicode and Aragon-ODBC

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Question about Unicode and Aragon-ODBC

Josef Springer
Hi everybody,

we are using Aragon-ODBC for database access, so i have a question about:
How can Unicode characters be stored ?
We are using PostgreSQL 8.2. The affected columns are of type /character
varying(nn)/ and defined in the ODCLens as /VARCHAR/.
I can type into the column of a record with PGAdminIII Unicode chars and
can read correct with AragonODBC. But writing with AragonODBC fails. I
have modified /ODBCTypeMapping
class>>putBlockFor:allocationType:maxSize:/ like
(aSymbol == #v or: [aSymbol == #u])
ifTrue: [...
bytes := v asByteArrayEncoding: #'UCS-2'.
... ].
I have tried #UTF_8 too, but without success. As the result i get,
depending on the used encoding, bad characters in the column.

Has anybody knowledge about writing Unicode with Aragon-ODBC. Any help
is appreciated !

mit freundlichen Grüßen / best regards,
Josef Springer
(Geschäftsleitung/Management)

Postal
        Address
        _Josef.Springer@joops.com_
        Orlando-di-Lasso Str. 2
        D-85640 Putzbrunn
Phone
        Office
        +49 (0)89 600 6920
       
       
Phone Fax
        +49 (0)89 600 69220
       
       
Web
        Web
        http://www.joops.com
       
       

JOOPS
        (HRB München 86239)

*-- the software company --*

_______________________________________________
vwnc mailing list
[hidden email]
http://lists.cs.uiuc.edu/mailman/listinfo/vwnc