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āca
for veda1.html
Å›rÄ«-bhagavÄn uvÄca
for veda2.html
Å›rÄ«-bhagavÄn uvÄca
how to solve this. I want to write to veda2.html with correct diacratics.
Offline