[cffi-devel] uffi and CUSTOM:*FOREIGN-ENCODING* from clisp
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! -- WBR, Yaroslav Kavenchuk.
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. -- Luís Oliveira http://student.dei.uc.pt/~lmoliv/ Equipa Portuguesa do Translation Project http://www.iro.umontreal.ca/translation/registry.cgi?team=pt
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! -- WBR, Yaroslav Kavenchuk.
participants (2)
-
Luis Oliveira
-
Yaroslav Kavenchuk