On Sun, Feb 17, 2013 at 6:12 PM, zhiguolv <[email protected]> wrote:

> hello,I am a beginner to use weblocks. I have spent several days to make
> weblocks-clsql-demo work, My database is MySQL.But when I add company
> operation on the page(I input chinese word in the form), it show errors as
> follows:OCTETS-ENCODING-ERROR: Unable to encode character 26234 as
> :LATIN-1.
> Could anyone enlight me to solving this problem?


The first thing to check is the default encoding in your Lisp
implementation.  Which Lisp are you using?  If it's SBCL, you can do

  (setq sb-impl::*default-external-format* :utf-8)

The second thing to check is the encoding being used by your database.  I
don't know how this works with MySQL, but with PostgreSQL, it's possible to
specify an encoding at the time you create a database.  Again, make sure
it's UTF-8.

-- Scott

-- 
You received this message because you are subscribed to the Google Groups 
"weblocks" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/weblocks?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to