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 8562891
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 11, 20262026-06-11T16:49:56+00:00 2026-06-11T16:49:56+00:00

newbie here! I have source data that contains both simplified and traditional Chinese in

  • 0

newbie here!

I have source data that contains both simplified and traditional Chinese in the same ‘cell’ (sorry, newbie using Excel speak here!), which I’m trying to load into MYSQL using “Load Data Infile”.

The offending text is “到达广州新冶酒吧!一杯芝華士 嘈雜的音樂 行行色色的男女”. It’s got both simplified Chinese (“广”) and traditional Chinese (“華”).

When I load it into MySQL, I get the following error:

Error Code: 1366. Incorrect string value: ‘\xF0\xA3\x8E\xB4\xE8\x83…’ for column > ‘Description’ at row 2

The collation of the database is UTF-8 default collation, and the input file is also UTF-8 encoded.

Is there any way I can either:

a) Make SQL accept this row of data (ideal), or
b) Get SQL to skip inserting this line of data?

Thanks! Do let me know if you need further detail.

Kevin

  • 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-06-11T16:49:57+00:00Added an answer on June 11, 2026 at 4:49 pm

    If was tripping it up, that’s because is not in the Basic Multilingual Plane of Unicode; it’s in the Supplementary Multilingual Plane, which is above U+FFFF and takes up 4 bytes in UTF-8 instead of 3. Fully conformant Unicode implementations treat them no differently, but MySQL charset utf8 doesn’t accept characters above U+FFFF. If you have a recent version of MySQL, you can ALTER TABLE to use utf8mb4 which properly handles all Unicode characters. There are some catches to changing, as MySQL allocates 4 bytes per character instead of 3; see http://dev.mysql.com/doc/refman/5.5/en/charset-unicode-upgrading.html for the details.

    This issue is a duplicate of Inserting UTF-8 encoded string into UTF-8 encoded mysql table fails with "Incorrect string value" .

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

Sidebar

Related Questions

Just a quick newbie question here. I have a method that calculates a value
Java Newbie here. I have a JFrame that I added to my netbeans project,
SQLDF newbie here. I have a data frame which has about 15,000 rows and
Complete C# newbie here, so cut me some slack. I have this application that
Im newbie here.I have a problem with codeigniter segment() method.I referred 6th segment of
ASP.NET newbie here I have coded up an ASP.NET website and running on win'08
Newbie here! My problem is as follows: I have a dynamically populating ul where
newbie here, so thanks in advance for help! I have a Wordpress site with
CSS newbie here. Strange thing is happening, I have gaps between links, and I
Im sure this is simple but newbie here. I have 5 URLS cards.php&type=one cards.php&type=two

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.