[osflash] Especial characters

Felipe Fernandez ffsanchez at gmail.com
Tue Mar 20 17:16:12 EST 2007


Thanks for replying.
I know about escape function but main problem refers to headerText on
DataGridColumns.

var col:DataGridColumn = new DataGridColumn("desc");
col.headerText = escape("Descripción");

Header text on column "col" appears as "Descripci%C3%B3n"

Any solution?
Maybe I must convert .as code source files into unicode or ASCII or other?

I could use the swf compiled in mtasc but its size is bigger than the flash
ide compiled one. Any redundant classes? Is there any way of avoid it?



On 3/20/07, Jonathan Spooner <jspooner at aviatech.com> wrote:
>
> have you tried to escape the string?
> var myNewStr = escape(myStr);
> trace(myNewStr);
>
>
> On Mar 20, 2007, at 11:49 AM, Felipe Fernandez wrote:
>
> Hi, I'm in trouble with especial characters (like ñ,á, ó..and so on). I
> use a DataGrid component and datagridcolumns headers use a title like
> "descripción" and instead ó appears stranger characters. This problem
> happens when I compile using Flash IDE but doesn't if compiling with mtasc
> in eclipse.
> Any cue about where could be the problem?
>
> Thanks and best regards.
> _______________________________________________
> osflash mailing list
> osflash at osflash.org
> http://osflash.org/mailman/listinfo/osflash_osflash.org
>
>
>
> _______________________________________________
> osflash mailing list
> osflash at osflash.org
> http://osflash.org/mailman/listinfo/osflash_osflash.org
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://osflash.org/pipermail/osflash_osflash.org/attachments/20070320/5db70aa6/attachment.htm


More information about the osflash mailing list