-
3 languages in XML to pass to swf
Hi all,
I'm working on some kind of presentation of my friend. This presentation must be in 3 languages English, Russian and Georgian. For one of parts of the presentation I've got an XML file which has attributes like
<file title="Title to diplay in Georgian" titleeng="title in English" titlerus="Title in Russian" poem_file="lirycs/vagoni.txt" pict_file="videos/ba1.jpg" vid_file="videos/ba1.swf"/>
Georgian are not unicode fonts, russians - non unicode as well - something like Times New Roman Cyr....
The Question is which encoding of XML file should I use and do I need anything to write in swf to make it understand that encoding?
-
Hi mtiebi,
You need to use [php] and [/php] around XML for it to show up, you can use [as] and [/as] for ActionScript.
PHP Code:
<file
title="Title to diplay in Georgian"
titleeng="title in English"
titlerus="Title in Russian"
poem_file="lirycs/vagoni.txt"
pict_file="videos/ba1.jpg"
vid_file="videos/ba1.swf"
/>
As for encoding, you should be able to use UTF-8, but do a search here in this forum on "encoding" and you'll see lots of useful articles.
Hope this helps!
Tim Walters
Senior Developer
XML Evangelist
"XML isn't a language, it's a way of life!"
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|