You are not logged in.
when i run the following js file using phantom :
var fs = require('fs');
fs.write("veda1","śrī-bhagavān uvāca", 'w');
fs.write("veda1.html","śrī-bhagavān uvāca", 'w');
fs.write("veda2.html","<html><head></head><body>śrī-bhagavān uvāca</body></html>",'w');the output are as follows:
for veda1
śrī-bhagavān uvācafor veda1.html
Å›rÄ«-bhagavÄn uvÄcafor veda2.html
Å›rÄ«-bhagavÄn uvÄcahow to solve this. I want to write to veda2.html with correct diacratics.
Offline