XML Programming
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsProgramming Languages - MoreXML Programming

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old September 13th, 2003, 06:51 AM
Pyetech Pyetech is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Sep 2003
Posts: 1 Pyetech User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Angry Special Characters Flash XML

Trying to create lists containing a number of languages which contain special characters such as acute, circumflex and umlaut. The format is a flash movie referencing a xml file.
The characters are either not displayed or if I use number/text codes they are displayed instead.

Examples

<MAIN text="HNP006 Kyttopas" url="ma.......

<MAIN text="HNP006 Kyttopas" url="ma......

Any ideas

Reply With Quote
  #2  
Old September 14th, 2003, 08:56 PM
bricker42 bricker42 is offline
Moderator =(8^(|)
Dev Shed Intermediate (1500 - 1999 posts)
 
Join Date: Feb 2002
Location: Sacramento, CA
Posts: 1,710 bricker42 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 20 m 38 sec
Reputation Power: 8
Send a message via AIM to bricker42
I'm not sure what to tell you. It seems like it's probably a flash issue. Here are some resources for supporting internationalization in flash. The first one looks promising: http://www.i18ngurus.com/docs/1017213676.html

Reply With Quote
  #3  
Old December 3rd, 2003, 03:22 AM
atg7 atg7 is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Dec 2003
Posts: 1 atg7 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Special characters

hi!
can anyone tell me how to parse the letter 'e' with an acute accent from xml to flash. am not able to do it. and also i want to make a letter superscripted while parsing from xml to flash. can any of u tell me how to do it ASAP.

thanx

arthi


Reply With Quote
  #4  
Old December 3rd, 2003, 05:33 PM
bricker42 bricker42 is offline
Moderator =(8^(|)
Dev Shed Intermediate (1500 - 1999 posts)
 
Join Date: Feb 2002
Location: Sacramento, CA
Posts: 1,710 bricker42 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 20 m 38 sec
Reputation Power: 8
Send a message via AIM to bricker42
Why don't you try starting a new thread in the Flash forum? You've got a better chance of someone with an answer seeing the thread there.

Reply With Quote
  #5  
Old March 10th, 2004, 05:28 AM
mikiSize mikiSize is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Mar 2004
Posts: 7 mikiSize User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Encoding is the key.

I came into the same problem and I think I found the solution in http://www.macromedia.com/support/f..._in_flmx05.html

It seems that Flash only understands text encoded in UNICODE format (UTF-8, UTF-16 ...). I came to 2 possible ways of managing this:
-Setting the flash property: system.useCode=true; this makes flash use the local codePage to decode the text.
-Saving the xml file with UTF encoding.

Hope it suits.

Reply With Quote
  #6  
Old August 17th, 2004, 01:39 PM
Buckwheat469 Buckwheat469 is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Aug 2004
Posts: 1 Buckwheat469 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Quote:
Originally Posted by mikiSize
I came into the same problem and I think I found the solution in URL

It seems that Flash only understands text encoded in UNICODE format (UTF-8, UTF-16 ...). I came to 2 possible ways of managing this:
-Setting the flash property: system.useCode=true; this makes flash use the local codePage to decode the text.
-Saving the xml file with UTF encoding.

Hope it suits.


I know this is old, but Flash does process its own list of special characters, you just have to input the special character code into the xml doc.

http://www.macromedia.com/support/flash/ts/documents/url_encoding.htm

The only issue is that you will need to convert these characters if you used them in any other language other than Flash (actionscript).

Reply With Quote
  #7  
Old September 2nd, 2004, 05:11 PM
moranists moranists is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jul 2004
Posts: 2 moranists User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Platform-independent solution (NO CODES NEEDED!)

In the XML file, the first line needs to include encoding="UTF-8"
i.e.:

<?xml version="1.0" encoding="UTF-8" ?>Q$J$J̖ S ,#!, l
,C |]
 LB
P8G &Ϳ G $L
D $ xp 9G &{ H
LS  hp70\]! =
< 0vice`"
osAU 07]
H l T{ U  B times_played 8U Oh
0st !(C O h%Jh%J-
d
I TI A *
useradmin Ha % A.
yes src .
#J,vshed..
#Jwidth00.
#J=lt="" .
#J500s="i.
#J,m .
#Jheight/y.

Reply With Quote
Reply

Viewing: Dev Shed ForumsProgramming Languages - MoreXML Programming > Special Characters Flash XML


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 1 hosted by Hostway
Stay green...Green IT