Old 17-08-2006, 05:18   #1 (permalink)
dpc036
Senior Member
 
dpc036's Avatar
 
Join Date: May 2005
Location: St Helens
Posts: 473
How do you do a £ in an xml file?

Im using an xml file with a flash ticker and its been pointed out the £ isnt showing up when its put in the xml file.

is it a similar thing to & having to be writen like &?

cheers
  Reply With Quote
Old 17-08-2006, 05:22   #2 (permalink)
funkyprem
For all your goober needs
 
funkyprem's Avatar
 
Join Date: Dec 2004
Location: Coventry, UK
Posts: 1,529
have you tried £ ??
  Reply With Quote
Old 17-08-2006, 05:24   #3 (permalink)
dpc036
Senior Member
 
dpc036's Avatar
 
Join Date: May 2005
Location: St Helens
Posts: 473
yeah it didnt work
  Reply With Quote
Old 17-08-2006, 05:48   #4 (permalink)
dpc036
Senior Member
 
dpc036's Avatar
 
Join Date: May 2005
Location: St Helens
Posts: 473
is that what it should be?
  Reply With Quote
Old 17-08-2006, 08:58   #5 (permalink)
stickmus
hmmm...
 
stickmus's Avatar
 
Join Date: Jan 2004
Location: Yorkuk
Posts: 2,127
yes
__________________
George Smith - a vain attempt to get higher on google for my name

  Reply With Quote
Old 17-08-2006, 09:23   #6 (permalink)
gray
i still want paying
 
gray's Avatar
 
Join Date: Oct 2003
Location: newcastle, uk
Posts: 4,713
ive had a similar problem, make sure the text in flash is html..
  Reply With Quote
Old 17-08-2006, 11:46   #7 (permalink)
dpc036
Senior Member
 
dpc036's Avatar
 
Join Date: May 2005
Location: St Helens
Posts: 473
The flash file is dragging the news items from the xml file.
like this <newsitem>News text goes here</newsitem>
  Reply With Quote
Old 17-08-2006, 12:01   #8 (permalink)
gray
i still want paying
 
gray's Avatar
 
Join Date: Oct 2003
Location: newcastle, uk
Posts: 4,713
aye... make sure the textfield is html...
  Reply With Quote
Old 17-08-2006, 12:11   #9 (permalink)
dpc036
Senior Member
 
dpc036's Avatar
 
Join Date: May 2005
Location: St Helens
Posts: 473
yep its a dynamic text field the thing drags the info in and it worked for the &amp;
if &pound; is the answer then ill have a good look at the file again see if i can see the problem.

cheers all
  Reply With Quote
Old 29-11-2006, 06:41   #10 (permalink)
dpc036
Senior Member
 
dpc036's Avatar
 
Join Date: May 2005
Location: St Helens
Posts: 473
Thought i'd solved it!!

Recreated the screensaver with the xml news ticker in it and tested it on my mac as an swf file. the £ sign shows up.

when i take it to a pc, create the screensaver from the same swf file and the xml file is referenced from the server it doesnt work, well it sort of works. i get

£

thats when its written normally " <newsitem>£This is an xml reader</newsitem>

ive tried the &pound; in its place but that doesnt work.

anyone any suggestions?
  Reply With Quote
Old 29-11-2006, 06:44   #11 (permalink)
gray
i still want paying
 
gray's Avatar
 
Join Date: Oct 2003
Location: newcastle, uk
Posts: 4,713
Quote:
Originally Posted by dpc036
<newsitem><![CDATA[£This is an xml reader]]></newsitem>

try that
  Reply With Quote
Old 29-11-2006, 09:49   #12 (permalink)
dpc036
Senior Member
 
dpc036's Avatar
 
Join Date: May 2005
Location: St Helens
Posts: 473
nope still produces the same "£" result.
thanks though

Last edited by dpc036 : 29-11-2006 at 10:05.
  Reply With Quote
Old 29-11-2006, 15:00   #13 (permalink)
asariyski
z-z-z
 
asariyski's Avatar
 
Join Date: Nov 2006
Location: Bulgaria
Posts: 100
Send a message via MSN to asariyski

this works?
although &pound; is supposed to do it right...
  Reply With Quote
Old 29-11-2006, 21:17   #14 (permalink)
theantidote
can't draw but can code
 
theantidote's Avatar
 
Join Date: Oct 2006
Posts: 109
What encoding are you using? ISO or UTF-8? Try switching your encoding around maybe if asariyski's ASCII code doesn't work.
  Reply With Quote
Old 05-12-2006, 08:39   #15 (permalink)
dpc036
Senior Member
 
dpc036's Avatar
 
Join Date: May 2005
Location: St Helens
Posts: 473
thanks asariyski thats done it.

theantidote, thanks also, i made sure the file was encoded UTF-8.
  Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search


Contact Us - Web Design Forums - Archive - Top
Search Engine Optimization by vBSEO 3.0.0 RC8