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

  • Home
  • SEARCH
  • 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 6138387
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T17:51:52+00:00 2026-05-23T17:51:52+00:00

OK so I checked and it doesn’t seem someone asked this question. So I

  • 0

OK so I checked and it doesn’t seem someone asked this question.

So I have two words:

thiep cuoi
thiệp cưới

The problem is when I COUNT() these mysql will combine these two as the same. For instance this sql:

#lets assume these two words have an id of 1 and 2 and that the column name
#in the table is `word`

SELECT `word`, COUNT(`word`)
FROM table_name 
WHERE `id` IN(1,2)
GROUP BY `word`;

Will return the two words as one row with a count of 2. These are not the same words via UTF-8, how can I bypass this behavior in MySQL? Doesn’t MySQL group by UTF-8 and not convert to ASCII? : /

  • 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-23T17:51:52+00:00Added an answer on May 23, 2026 at 5:51 pm

    MySQL uses the collation you set on the column to determine equality of letters in words. In whatever collation you’ve set on this column, those letters are considered equal for the purposes of comparison. MySQL is not doing any kind of conversion or throwing away any data.

    http://dev.mysql.com/doc/refman/5.5/en/charset-general.html

    You’re probably using something common like latin1_general_ci or utf8_general_ci. If you want those letters treated as different then you probably want a binary collation. Run a query like SHOW COLLATION LIKE 'utf8%' to see what’s available on your server.

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

Sidebar

Related Questions

I checked this post already. But it doesn't answer my question. I want to
It doesn't seem that the Html.CheckBoxFor helper adds the correct checked attribute when rendering
I have this weird situation where my form doesn't send any data, but the
A similar problem to mine is in this thread , but it doesn't use
This stored procedure doesn't work. It just returns 0 rows. I've checked the SQL
I want to get all inputs that are checked and not hidden This doesn't
I have checked with the wikipedia article , and it seems like it is
I have a folder checked out using TortoiseSVN. If I copy a newer version
I have checked in a huge Eclipse project from my desktop computer to the
I have checked the whole site and googled on the net but was unable

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.