Results 1 to 2 of 2
  1. #1
    Join Date
    Oct 2003
    Location
    France
    Posts
    2

    Unanswered: Euro symbol - JDBC on windows

    Hello,

    I want to store a string containing the euro symbol in MySQL via JDBC on Windows 2000.
    The euro symbol isn't correctly stored ('?' instead of the symbol).

    I'm using :
    Windows 2000 (codepage 1252)
    MySQL 4.0.12 with charecter-set=latin1
    JDBC mysql-connector-java-3.0.8-stable-bin
    Java 1.4.2
    The euro symbol is passed through a swing gui (AltGr-E on my keybord).

    Thanks,
    Gauvain

  2. #2
    Join Date
    Oct 2003
    Location
    France
    Posts
    2

    Re: Euro symbol - JDBC on windows

    I find a solution outside this forum :
    In the JDBC connection URL, add ?useUnicode=true&characterEncoding=windows-1252

    Hope this helps,
    Gauvain

    Originally posted by Gauvain
    Hello,

    I want to store a string containing the euro symbol in MySQL via JDBC on Windows 2000.
    The euro symbol isn't correctly stored ('?' instead of the symbol).

    I'm using :
    Windows 2000 (codepage 1252)
    MySQL 4.0.12 with charecter-set=latin1
    JDBC mysql-connector-java-3.0.8-stable-bin
    Java 1.4.2
    The euro symbol is passed through a swing gui (AltGr-E on my keybord).

    Thanks,
    Gauvain

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •