How to write arabice or persian text to a txt file using php

Ask about general coding issues or problems here.

Moderators: macek, egami, gesf

Post Reply
fawadmz

How to write arabice or persian text to a txt file using php

Post by fawadmz » Sat Mar 30, 2013 3:24 am

I have a .txt file file.txt an html file called form.html and a php file called update.php.
The form takes arabic contents from user and the update.php file saves the the form data in file.txt
The whole process is working fine but when i write english data in form it works fine but when i write arabic or persian characters it show این است سوال ما in my txt file.
can you help me write utf-8 (Arabic or persian) characters in a txt file using php

Post Reply

Who is online

Users browsing this forum: No registered users and 4 guests