odbc return error message in UTF-8 encoding (may be)
I get:
*** - A database error occurred: NIL / HY000
*** - Character #\u00C4 cannot be represented in the character set CHARSET:CP866
And under emacs+slime:
A database error occurred: NIL / HY000 [Microsoft][Äðàéâåð ODBC Microsoft Access] Óäàëåíèå èíäåêñà íåâîçìîæíî. Îí ÿâëÿåòñÿ òåêóùèì èíäåêñîì èëè èñïîëüçóåòñÿ äëÿ óñòàíîâëåíèÿ ñâÿçè. [Condition of type CLSQL-SYS:SQL-DATABASE-ERROR]
(setf CUSTOM:*FOREIGN-ENCODING* CHARSET:UTF-8) not helped
How correct it?
Thanks!
On 4/nov/2005, at 13:28, Yaroslav Kavenchuk wrote:
(setf CUSTOM:*FOREIGN-ENCODING* CHARSET:UTF-8) not helped
How correct it?
Sorry, I have no idea. Better ask on the clisp or cl-sql mailing lists.
Luis Oliveira wrote:
On 4/nov/2005, at 13:28, Yaroslav Kavenchuk wrote:
(setf CUSTOM:*FOREIGN-ENCODING* CHARSET:UTF-8) not helped
How correct it?
Sorry, I have no idea. Better ask on the clisp or cl-sql mailing lists.
I think, it because string-ptr from clsql is translate to c-pointer, instead of in (c-ptr c-string). :(
Thanks!