kaancho12
Technical User
- Feb 22, 2005
- 191
hi,
I am writing some text to a file but before that i am using utf8_encode to encode it to UTF-8. Is this the write way to create a file to encode it.
for ex:
$str=utf8_encode("some strin");
fwrite($str,filehandle);
also is there a way to check if the new file is encoded in the UTF-format?
thanks
ko12
I am writing some text to a file but before that i am using utf8_encode to encode it to UTF-8. Is this the write way to create a file to encode it.
for ex:
$str=utf8_encode("some strin");
fwrite($str,filehandle);
also is there a way to check if the new file is encoded in the UTF-format?
thanks
ko12