Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Displaying accents and spanish characters

Status
Not open for further replies.

rtarkovski

Programmer
Oct 9, 2009
1
0
0
MX
Hi! I have a little XML file that goes like this:

<xml>
<template websitename="C3" minwidth="800" minheight="600" /
<sound src="m1raw.mp3" volume="30" />

... etc

<menu gap="20">
<button text="Quiénes somos" type="html" src="aboutus.xml" />
<button text="España" src="awards.xml" />
... etc
</menu>
</xml>

Unfortunately the spanish characters in the button text like é, ñ, etc don't show properly. I've tried simple tricks like using <?xml version="1.0" encoding="UTF-7" ?> and other encoding instead of <xml> as the header, typing & # 2 3 3 ; (no spaces) instead of é, etc. to try and correct this, but they either screw the whole page or don't work. Please help me out. Thanks in advance!
 
How the xml doc is used? Transformed to html? If yes, what is the final form it appears for the button? utf-7? Is it a workable trick?! No.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top