Database: Default Char set: Latin1 & Collation: latin1_swedush_ci
ditto table ... and columns.
(defaulted and untouched)
Main Topics
Browse All TopicsCan you help?
I'm reading news in multiple languages from english thru russian, chinese and japanese ... and ... inserting into a temporary table for sorting and display.
BUT ... the foreign language characters (ie. chinese characters) appear in the database (mysql 5.x) as ????x???????????xx///???? etc.
What on earth am I doing wrong!?
The database fields in question are msn_title and msn_snippet ...
coming from:
live_doc.SearchResponse.ne
live_doc.SearchResponse.ne
Thanks!
This Question has been solved and asker verified All Experts Exchange premium technology solutions are available to subscription members.
Experts Exchange has been collecting answers to technology questions since 1996…3 million and counting! If you have a question, chances are we already have your answer.
If you can't find the exact answer you're looking for, ask our exclusive community of 50,000 experts. You’ll get a personalized answer from a trusted professional.
Thousands of free tech tips, tricks, how-to’s and tutorials are available in our peer reviewed articles section. See for yourself how smart our experts are, no login required.
Access the answers to your technology questions today.
30-day free trial. Register in 60 seconds.
Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.

Try it out and discover for yourself.
30-day free trial. Register in 60 seconds.
Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.
Azadi:
I changed the table chr set and collation to UT8 and ... no change. The foreign characters remain ??????!?#!?!/!? instead of the correct Kanjii etc.
Per below ... the foreign language text is definitely being picked up.
1 - [à… xèÔ A] øm ä/ˆø lÝ
Does it have anything to do with the way I'm inserting the variables? newsTitle and newsSnippet?
Richard
I found this test code online at :
http://www.lynchconsulting
I used the following table for testing:
CREATE TABLE `utf8test` (
`id` int(11) NOT NULL,
`data` varchar(25) default NULL,
`datalong` text,
PRIMARY KEY (`id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8
- see the attached code snippet ...
it fails to display (cfdump) the correct foreign characters.
Even this does not work! What on earth am i doing wrong!?
Richard
Business Accounts
Answer for Membership
by: azadisaryevPosted on 2009-05-14 at 22:34:46ID: 24392520
what's the collation and charset settings on your db, db table and the columns in it?
Azadi