It appears you have not yet registered with DEVPPL. To register please click here... (it's fast, easy and free!)

Forum

Log In Sponsors
Board index Programming PHP and MySQL Forum

problem when importing

Moderator: Malcolm

problem when importing

Postby john_zakaria on Sun Jun 21, 2009 9:43 am

i am importing a csv file that contains a unicode data using php my admin...

i import it but it is not displayed as uniocde for example :

al-Lujū΄ ilá Allāh : is shown as al-Luju?? il? Alla?h :


i tried to set the character

mysql_query("set names utf8");

note that when inserting al-Lujū΄ ilá Allāh from php my admin it is shown correctly but when importing it from a file named: 2fields.csv
(a csv file) it is not shown as unicode data
it is shown as al-Luju?? il? Alla?h

can anyone help me to import unicode csv file??

thnx alot
john_zakaria
50+ Club
 
Posts: 59
Joined: Sun Feb 08, 2009 7:29 am

Re: problem when importing

Postby Tgruutal on Tue Jun 30, 2009 2:22 pm

Hello,

What you could do is use an open source ETL tool to import your csv files.

Talend Open Studio is an open source ETL tool for data integration and migration experts. It's easy to learn for a non-technical user. What distinguishes Talend, when it comes to business users, is the tMap component. It allows the user to get a graphical and functional view of integration processes.

For more information: http://www.talend.com/
Tgruutal
 
Posts: 7
Joined: Tue Jun 30, 2009 1:53 pm


Who is online

Users browsing this forum: No registered users and 0 guests