Re: UTF8 problem

From: Andrus Adamchik (andru..bjectstyle.org)
Date: Fri Jun 01 2007 - 03:25:36 EDT

  • Next message: marco turchi: "Re: UTF8 problem"

    Usually MySQL JDBC driver can detect the encoding. Not sure why it
    does not in your case. But you can always force UTF-8 via a
    connection URL parameter:

    jdbc:mysql://localhost....?characterEncoding=UTF-8

    http://dev.mysql.com/doc/refman/5.0/en/connector-j-reference-
    configuration-properties.html

    Andrus

    On May 31, 2007, at 3:43 PM, marco turchi wrote:

    > Dear experts,
    > I have a strange situation when I read data from mysql using cayenne.
    > The table is encoded by utf8, I read the data, but some characters,
    > like stressed letter, are not corrected encoded.
    > If i read data inside mysql by a query, they are correct, otherwise
    > if I read data by cayenne, and then I show them, they are not.
    >
    > Please, can u help me?
    >
    > thanks a lot
    > Marco
    >



    This archive was generated by hypermail 2.0.0 : Fri Jun 01 2007 - 03:26:10 EDT