Heterogenous Services with MySQL. Problem with Unicode



Hi:
I have an Oracle 10g, with CHARACTER SET WE8ISO8859P1 and NATIIONAL
CHARACTER SET AL16UTF16.
I have columns with NVARCHAR2 type, and in this columns, I have put
data with sql*loader (these data are in UTF8).
I have a database link with MySQL, using Heterogenous Services.
In this MySQL, I have tables with characterset UTF8.
I want insert in the tables of MySQL, the data I have in the Oracle
database, in columns nvarchar2.
I can't do it.
I have intended to use also DBMS_HS_PASSTHROUGH package, with
BIND_VARIABLE_NCHAR but it don't work. The data apears null in MySQL.
I have intended to use also "convert" function to convert from
AL16UTF16 to AL32UTF8, before passing to MySQL, but it don't work.
The only I have get is put the data of NVARCHAR2 in a VARCHAR2
variable, and pass this VARCHAR2 variable to MySQL, but then, I loss
the unicode codification.
Somebody can help me?
Thanks in advance,
Isa

.



Relevant Pages

  • Re: [PHP] converting extended chars to plain ascii
    ... And is the character set of the MySQL server, and of the MySQL client, ... A libarary I'm using (the cybersource api if it helps any) is dying ... not sure of the actual name of this char -sorry). ...
    (php.general)
  • Re: Reconfigure my MySQL server for utf8 support
    ... I installed MySQL on my Ubuntu system via Synaptic. ... variables related to encoding and collation to use utf8. ... character set connection utf8 latin1 ...
    (Ubuntu)
  • Reconfigure my MySQL server for utf8 support
    ... I installed MySQL on my Ubuntu system via Synaptic. ... one can reconfigure MySQL using ./configure or something like that to rebuild the server so that it has utf8 as the default encoding. ... character set connection utf8 latin1 ...
    (Ubuntu)
  • phpMyAdmin gotcha
    ... I upgraded PHP on my Fedora Linux server to 4.3.10 due to the recent ... debugging that I'd previously custom-compiled PHP to match my custom ... upgrade of MySQL to 4.1.7 from Fedora's development branch. ... couldn't talk to the newer MySQL with the different character set support. ...
    (comp.lang.php)