extracting unicode form a flat file to insert in db
i am trying to extract unicode form a flat file that i wiould like to insert in a mysql database.
however, i am not usre how to exactly excract the data properly. each line in the text file contains on name in arabic for ex:
معالم السلوك للمرأة المسلمة
but when i do a fgets on the file and then echo it i get the following output:
معالم السلوك للمرأة المسلمة ㄊ㈳愬慑汵愠慍爧景映慆桤污䴭❡潲ⱦⰱ〲〰〬ㄮⰲ⸱ⰵ⸲㜵㐱㠲㜵ⰱ䐊灵楬慣整攠瑮祲✠〲‧潦敫⁹
where is that extra stuff coming from?
Subject
Views
Written By
Posted
extracting unicode form a flat file to insert in db
2504
September 05, 2006 11:31PM
1593
September 06, 2006 01:18AM
Sorry, you can't reply to this topic. It has been closed.
Content reproduced on this site is the property of the respective copyright holders.
It is not reviewed in advance by Oracle and does not necessarily represent the opinion
of Oracle or any other party.