Thanks! Changing encode to decode did the trick.
--Apprentice wetware hacker
In reply to Re^2: UTF-8 problem parsing XML by rinceWind in thread UTF-8 problem parsing XML by rinceWind