Board index   FAQ   Search  
Register  Login
Board index php forum :: php coding PHP coding => General

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

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

Postby 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
fawadmz
New php-forum User
New php-forum User
 
Posts: 5
Joined: Wed Nov 21, 2012 12:15 am

Return to PHP coding => General

Who is online

Users browsing this forum: Bing [Bot] and 5 guests

Sponsored by Sitebuilder Web hosting and Traduzioni Italiano Rumeno and antispam for cPanel.