Hi,

i'm stuck again.
People want to access my MaxDB with LONG VARCHAR columns by using PHP.
So i made a small test-case and i get the error-message:

Cannot convert UCS2 data to ASCII ...

Well, that's clear, and i guess, that the PHP extenstion does not
properly support Unicode. Well, PHP does not support unicode too, but i
don't care. I would already be happier, even i would only get a
UCS2/UTF8 string that i can convert with iconv or any other PHP-API that
can handle charsets. Something that would work - even if i have to do
things by hand.


On the other hand, i see examples in the docs like:

/* create a connection object which is not connected */
$link = maxdb_init();
/* set connection options */
maxdb_options($link, MAXDB_UNICODE, "FALSE");
maxdb_options($link, MAXDB_TIMEOUT, 5);
/* connect to server */
maxdb_real_connect($link, 'localhost', 'MONA', 'RED', 'DEMODB');


Well, so what happens if i set MAXDB_UNICODE to "TRUE" ?
For me, nothing changes :-(


So what's the status-quo?


Greetings
  Sven


P.S.: for my tests, i used:
- PHP 4.4.2
- PHP-MaxDB-Extenstion and SQLDBC 7.6.0.16


-- 
MaxDB Discussion Mailing List
For list archives: http://lists.mysql.com/maxdb
To unsubscribe:    http://lists.mysql.com/[EMAIL PROTECTED]

Reply via email to