Hi all,

 

I have a problem with using Swedish characters in a textfield in flash…

 

If I create a text field using a simple setup in the flash IDE actions panel 
and send some Swedish characters to populate it then all works fine, the 
characters display as they should….

 

Now, I have a function that creates a textfield dynamically in the framework 
I’m working with and outputs text like so:

 

outputText.setText("Ä\nÀ\nÁ\nÉ\nË\nÖ\nÜ\n");

 

the problem is that the output I get back displays the correct character but 
then outputs an extra character afterwards, like this

 

Ä

À

Á

É

Ë

Ö

Ü

 

Now, assuming that this all displays correctly when it hits the list, has 
anyone seen anything like this before? I’m assuming it’s a character-encoding 
issue because if I replace the contents of setText() with the html character 
codes then it displays correctly – but if I paste in the character from 
somewhere it won’t have it…

 

Can anyone point me in the right direction? 

 

 

 

 


-- 
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.5.430 / Virus Database: 268.14.14/548 - Release Date: 23/11/2006 
15:22
 
_______________________________________________
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com

Reply via email to