Hello, I am writing an application that will get posted hebrew user input. I then want the application to save the inputted text in a file. The problem is that the hebrew never shows up right.
What I am looking for is a function that will convert hebrew text to utf-8. I have tried utf8_encode():
but this outputs "âãëãâëfasdf". Not exactly hebrew. Anyone know how I can do this?
Thanks!
What I am looking for is a function that will convert hebrew text to utf-8. I have tried utf8_encode():
| Code: |
|
$test = "גדכדגכfasdf"; $test1 = utf8_encode($test); echo $test1; |
but this outputs "âãëãâëfasdf". Not exactly hebrew. Anyone know how I can do this?
Thanks!
