xml -> flash problem?
- Started
- Last post
- 17 Responses
- pixelman
My flash movie dosn't display special characters (ë, é, ä; â, ê, ...) when I import them from xml into my movie. I included the characters in flash but they don't showup?
Help me pleas.
- stewart0
url encode ?
systemcodepage=true ?
- pixelman0
tutorials?
- pixelman0
I tryed
'systemcodepage=true' but it dosn't work?I tried to save my xml into 'utf-8' format, no luck.
- pixelman0
Solutions?
- pixelman0
No help for this lonely soul?
- Solid0
can you post your xml?
- murmur0
Have you tried using the literal unicode values for the characters? When i use LoadVars or XML sometimes this helps. Go to this link: http://www.loc.gov/marc/marbi/19… there is the entire list.. Just put a % sign in front of the value and it should work. Example : & would be %26. Hope that helps.
- Solid0
murmur: I've never seen that '%' recommendation -- what does that do?
- murmur0
You can enter characters either by typing them in the keyboard or by using there literal Unicode value. The link i included was the complete list of unicode character values. My suggestion will not make your existing text work properly, instead you would replace the offending characters with the unicode values that are in the list. This solution may not be feasible if the text is for a client to edit or is going to be constantly updated.
As per my previous post. An example. In your text you would replace the & sign(if you had one in a sentence.) with %26 (which is the unicode value for ampersand). You can do this with all other characters as well.
- Solid0
I know about using Unicode characters, but I've never seen the '%' sign prepended to the character.
- deleteyourself0
Have you tried setting a doctype in the XML's header?
- pixelman0
I will poste my code on monday. It's at work. I am home now.
Thx.
- pixelman0
I posted my xml here.
- LamoscaRoger0
Are you on a macintosh or pc ? if you are in a windows os you can open the .xml in notepad and save it as UTF-8...
- metador0
try entering the chracters manually in the Embed Character option within the textbox properties window. type the special chars you want into the "Include these characters" box.
- honda0
Try editing the file with XML Notepad: http://www.snapfiles.com/get/xml…
Write the character exactly as you want it; xml notepad will encode it for you.
Cheers.