Details

    • Bug
    • Status: Closed (View Workflow)
    • Blocker
    • Resolution: Fixed
    • 2.0.16, 3.0.3
    • 3.0.4, 2.0.17
    • General
    • None
    • Windows Server 2016

    Description

      We're having problems inserting/selecting Swedish characters with the 3.0.3 (same issue with 2.0.16 though) version of the driver. It works with version 1.0.6 however.

      The ODBC driver is set up with Latin1 as 'Connection Character Set'.

      CREATE TABLE `table1` (
      `col1` char(50) DEFAULT NULL
      ) ENGINE=InnoDB DEFAULT CHARSET=latin1

      insert into table1 values ('åäöÅÄÖ')

      select * from table1 gives:

      col1
      --------------------------------------------------
      2†„"Ž™

      We have tried different 'Connection Character Set' settings as well as leaving it empty. CP1257 works ok for Swedish but does not cover other languages that we need to support.

      Other MysQL .Net connectors have no issues.

      We are migrating from MySQL and the Oracle ODBC driver we have been using before have no issues.

      Attachments

        Activity

          Thanks!
          You might need to set latin1 as the connection charset

          Lawrin Lawrin Novitsky added a comment - Thanks! You might need to set latin1 as the connection charset

          Sorry, there will be new version. Even if the one I posted works for you. If you haven't tested it, then please don't

          Lawrin Lawrin Novitsky added a comment - Sorry, there will be new version. Even if the one I posted works for you. If you haven't tested it, then please don't

          I have removed the old dll, and uploaded the new one

          Lawrin Lawrin Novitsky added a comment - I have removed the old dll, and uploaded the new one

          I have now tested the new(est) dll (3.0.4) with latin1 and the issue i had before is now fixed!

          When can we expect a new release?

          Thanks,

          Richard

          rekefjard Richard Ekefjärd added a comment - I have now tested the new(est) dll (3.0.4) with latin1 and the issue i had before is now fixed! When can we expect a new release? Thanks, Richard

          The (latest changes to the) fix has been pushed in commit 025978c5b0962f71aafcee534c495005b1ddb683 into odbc-3.0 Yet to be cherry-picked) into odbc-2.0

          Lawrin Lawrin Novitsky added a comment - The (latest changes to the) fix has been pushed in commit 025978c5b0962f71aafcee534c495005b1ddb683 into odbc-3.0 Yet to be cherry-picked) into odbc-2.0

          People

            Lawrin Lawrin Novitsky
            rekefjard Richard Ekefjärd
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Git Integration

                Error rendering 'com.xiplink.jira.git.jira_git_plugin:git-issue-webpanel'. Please contact your Jira administrators.