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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 31, 20262026-05-31T10:27:51+00:00 2026-05-31T10:27:51+00:00

I am trying to store both English and Chinese in different fields in a

  • 0

I am trying to store both English and Chinese in different fields in a single MySQL table.

lang1 for English, lang2 for Chinese.

I tried both UTF8_general_ci and UTF8_unicode_ci for the tables character set.

The Html page for input is using UTF8 as well. But for some reason the chinese characters come back as ???. Anyone know why this could be happening? I copy and pasted the chinese characters from a UTF8 page as well.

EDIT:
Request Headers for the Input page:

Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.3

The page itself sets:

<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />

EDIT:
It looks like after setting the field lang2 to utf8_general_ci, it is storing the characters properly. I was setting the table and the database collation to utf8 but missed the specific field.

  • 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-31T10:27:52+00:00Added an answer on May 31, 2026 at 10:27 am

    here is brief explanation for mysql character set for chinese language.

    • http://www.haidongji.com/2007/10/04/character-set-and-collation-for-simplified-chinese-mysql/

    • http://dev.mysql.com/doc/refman/5.1/en/faqs-cjk.html#qandaitem-B-11-1-3

    • http://www.dodoskido.com/archives/003040-mysql-chinese-character-fix-or-how-to-make-utf8-work-for-you-pages.html

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

Sidebar

Related Questions

I'm trying to store several 2D sprites inside a single texture, since I figured
I am trying to store a list of countries in a mySQL database. I
I'm trying to store both an integer and NSArray with the NSUserDefaults, but I
I have two images in a table. Now I have to store both of
Im trying to store a list,collection of data objects in Hbase. For example ,a
I am trying to store a byteArrayInputStream as File on a FTP Server .
I'm trying to store and retrieve numbers in android so later I can do
I'm trying to store an image into an SQL database without using temporary files.
I'm trying to store a std::map on a shared memory segment. But I'm not
I'm trying to store the size of a queue in an int in C++.

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.