dear,
i have my own php script that i am using to put folders and files in to an array and show them with links to browse them,
but if there is an arabic title of a file or a folder the variable of that file will be like this (??????) when i use the echo.
please if there is a solution for that proplem will help me tell me plz.....
Taher Fadloun
taherfadloun@hotmail.com
damascus - syria
about arabic variable in php
Moderator: General Moderators
-
taherfadloun
- Forum Newbie
- Posts: 2
- Joined: Sat Jul 11, 2009 3:40 pm
Re: about arabic variable in php
Did you set the correct content-type / encoding before echo-ing? Maybe it's just browser that don't show correctly the name...
Code: Select all
header('Content-type: text/html; charset=utf8');