iswariak Posted October 5, 2011 Share Posted October 5, 2011 Hi, I want to read unicode files and do some manipulation. How to do that? sample unicode file: *t*Name(s) Kandapurāṇa by Kacciyappa-civa-cariyasvami. *t*Location*t* “Near Mēlpāṭi which is 12 km. north of Thiruvallam in Guḍiyāttam Then read this file, replace*t* by <h1>tag and write the content in another file. Please tell me how to read and write unicode files in php? Thanks, Iswaria Quote Link to comment https://forums.phpfreaks.com/topic/248471-php-read-unicode-files/ Share on other sites More sharing options...
Kieran Menor Posted October 5, 2011 Share Posted October 5, 2011 Depending on the encoding, most of the time, you won't really have to worry when working with such files. Try doing it like you normally would with any other file. Quote Link to comment https://forums.phpfreaks.com/topic/248471-php-read-unicode-files/#findComment-1275975 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.