you might have to go nodeValue.toString() first.. c.
On 6/22/07, Danny Kodicek <[EMAIL PROTECTED]> wrote:
I'm having trouble reading and writing some characters to XML. I've got a file with "." characters and I'm trying to read them and swap them for arrows (u2192). But for some reason it's not managing to see them (nodeValue.indexOf(".") is giving -1) I think the problem may be something to do with encoding. Is there any way to find out what encoding Flash thinks the file has, or to force it to read the file with a particular encoding? I'm wondering whether it thinks it's UFT8 when it's actually ANSI. Thanks Danny _______________________________________________ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
_______________________________________________ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com