Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6715167
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T08:34:56+00:00 2026-05-26T08:34:56+00:00

I am inporting data fom a user table (many users from many sites): myisam

  • 0

I am inporting data fom a user table (many users from many sites):
myisam default collation latin1_swedish….

Importing that data into a innodb table utf8_general

I have placed a unique key on the username,site_id combination but this is failing on 2 users of the same site:

user 1    dranfog,
user 2    drånfog

If I run:

SELECT IF('å' = 'a', 'yep', 'nope');

directly on the target db with utf8 encoding, I get 'yep'.

Any tips on resolving this most welcome. I was of impression utf8 would treat these as different charcters but that seem to not be the case.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-26T08:34:57+00:00Added an answer on May 26, 2026 at 8:34 am

    Collations that end with _ci are case (and accent) insensitive.

    You could change the collation to ‘utf8_binary' to treat dranfog differently than drånfog.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am importing massive amounts of data from Excel that have various table layouts.
I'm importing some data from a CSV file, and numbers that are larger than
I'm importing data from a CSV that contains approx 350 columns. This CSV import
I'm importing data from a CSV file that comes from excel, but i can't
I'm importing data from a file 'infile.txt' and I'm using the table: People (ID
While importing data from a flat file, I noticed that some of lines have
I am importing data from a flat file into a normalized table structure. I
I'm importing data from an excel file and I just noticed that some cells
I have an app that is importing data from JSON and generating (through JQuery's
I am importing data into a sql table from a csv using an xml

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.