That's better. Now both files are fine so it must be turning them into strings and back that loses the encoding. Can PHP process them as files without doing this. If so open them into a dom, change default.asp via dom methods and proceed. Then it should work. I have it working in simple script but I don't have anything running PHP and don't know it well enough to test anyway.
Good luck
Joe (MVP - xml)
|