Click to See Complete Forum and Search --> : UTF-8 - php file


LogicOpinion
11-20-2007, 09:18 AM
hello everyone,

i am writing something similar to CMS and want to make form where i`ll have several fields

forexample

Filename:
File Content:

also second field will have RTE Rich Text Editor Up Above.. and when i press

Submit (create) Button, i want this form to pass all the data to somephpfile.php

which will create php page and store it in some Directory, Forexample Navigation

and all this can be done easily, i know.. and have already done

using FOPEN and +W function..

But when php creates this page its ENCODING is ANSI.. and i want to be UTF-8 because when i write in my language and then open document in note pad i see something like #$&#(@&#$&(@#*$#...

How can i make php to create this page and its ENCODING to be UTF-8 thanks.. or maybe there is some other way ?


Thanks a lot