Click to See Complete Forum and Search --> : XML, Flash And Spanish?


derbra1513
02-17-2008, 08:23 PM
<xml>
<BLURB name="Dialyzer_BloodPumpSpeeds">
<TEXTFORMAT LEADING="-2"><P ALIGN="LEFT"><FONT FACE="Arial Narrow" SIZE="24" COLOR="#FFFF00" LETTERSPACING="0" KERNING="0"><B>¡Tómese su tiempo! </B></FONT></P></TEXTFORMAT><TEXTFORMAT LEADING="-2"><P ALIGN="LEFT"><FONT FACE="Arial Narrow" SIZE="24" COLOR="#FFFF00" LETTERSPACING="0" KERNING="0"></FONT></P></TEXTFORMAT><TEXTFORMAT LEADING="-2"><P ALIGN="LEFT"><FONT FACE="Arial Narrow" SIZE="18" COLOR="#FFFFFF" LETTERSPACING="0" KERNING="0">Las velocidades sugeridas para la bomba de sangre durante el cebado son de 100 a 150 ml/minuto. Las velocidades de la bomba superiores a 150 ml/minuto pueden crear turbulencia, mezclando aire con la solución salina y generando microburbujas que causan la coagulación.</FONT></P></TEXTFORMAT><TEXTFORMAT LEADING="-2"><P ALIGN="LEFT"><FONT FACE="Arial Narrow" SIZE="18" COLOR="#FFFFFF" LETTERSPACING="0" KERNING="0"></FONT></P></TEXTFORMAT><TEXTFORMAT LEADING="-2"><P ALIGN="LEFT"><FONT FACE="Arial Narrow" SIZE="18" COLOR="#FFFFFF" LETTERSPACING="0" KERNING="0">El cebado a velocidades adecuadas garantiza que todas las fibras se llenen a la vez</FONT></P></TEXTFORMAT><TEXTFORMAT LEADING="-2"><P ALIGN="LEFT"><FONT FACE="Arial Narrow" SIZE="18" COLOR="#FFFFFF" LETTERSPACING="0" KERNING="0">e impide que quede atrapado aire.</FONT></P></TEXTFORMAT>
</BLURB>
</xml>

Stephen Philbin
02-18-2008, 05:45 AM
What about it?

derbra1513
02-18-2008, 08:39 AM
Ooops Sorry forgot to type my problem!

I am having some problems with translating my XML file to Spanish. I have a flash presentation that draws text from the XML file to display on the Flash piece. The problem is is that when I try to translate it the accents do not show up. Here is what I have. Thanks so much for the help!

Stephen Philbin
02-18-2008, 11:56 AM
You mean you have Spanish text stored in XML (like in your first post) but when you read it from the XML file and place it into a Flash object, the accents etc. are removed?

derbra1513
02-18-2008, 01:58 PM
Exactly!

I have even tried unicode (for instance with a i put &aacute; or whatnot to add the accents with no luck...

Stephen Philbin
02-18-2008, 03:06 PM
Then the first thing I'd suggest, is ensuring that the XML files are being saved to disk correctly. Make sure that whatever program is producing the XML files is saving in the appropriate character set and not something stupid that can't represent all of the characters in the Spanish alphabet. (I tend to go with UTF-8 as a standard practice for safety.)

If it's not the XML files that are being saved in the wrong character set then the only other thing I can think that it might be would be Flash reading the file incorrectly (perhaps expecting an inadequate character set). Can't say I really know much of anything about Flash though. Check that this isn't a problem with the files being saved with an inadequate character set. If it isn't that, then post back to let me know and I'll move this thread to the Flash forum and leave a redirect so that it can be seen from both the XML and Flash forum sections. With any luck, someone will know what's going on. ;)

derbra1513
02-19-2008, 01:43 PM
Well, I do believe that the XML File is ok, and maybe it does have something to do with the flash, maybe we should move this to the flash forum! Thanks for the help so far!

Stephen Philbin
02-19-2008, 05:03 PM
Here ya go. It would probably be a good idea to post with some details about how your flash is retrieving and handling the XML files so that someone might better be able to help you. Unfortunately this is all I can do for you as I don't know anything at all about Flash. Sorry.

Good luck with getting the help you need, though. ;)