[Extendflash] Using the JSFL FLFile.write and UTF8

Tomas van der Haase tvander at macromedia.com
Mon Aug 8 13:17:42 PDT 2005


Hello:

in case u need a[nother] reason to upgrade:

brsnyder here at macromedia pointed out this Flash 8 functionality  
which is potentially of interest:

>> Flash 8, outputPanel.save() has
>> added an option that does this:
>>
>> bUseSystemEncoding  An optional Boolean value. If true, it saves
>> the Output panel text using the system encoding; if false, it saves
>> the Output panel text using UTF-8 encoding, with Byte Order Mark
>> characters at the beginning of the text. The default value is false.
>>
>> ...
>> ... the user could trace his script to the Output panel
>> and then save it!


ah, like Xmas in... er... September.



Tomas van der Haase
Flash 8 Quality Assurance Engineer
Macromedia, Inc.




On Aug 8, 2005, at 9:06 AM, Till Schneidereit wrote:

> Hi Morten,
>
>
>> The unicode of a character is just the charcode - thus:
>>
>
> ah, yes, I remember now. Fortunately, it's been a while since I  
> last needed this stuff ;-)
>
>
>> But that _is_ a nice trick - maybe I should do that in stead. And  
>> yes, the codes are converted to the characters compile-
>> time (or actually, the regular characters and the coded characters  
>> are all converted to unicodes compile-time).
>>
>
> That's what I thought to remember. This trick practically saved my  
> neck in a huge project about two years ago when facing problems  
> that where pretty similar to what you have to work around now.
>
> Oh, and I was actually wrong in blaming Flash MX, as that release  
> already used utf8 encoded source files - the real culprit was the  
> now deceased Screenweaver not being able to save utf8 files.
>
> cheers,
> till
>
> _______________________________________________
> Extendflash mailing list
> Extendflash at flashguru.co.uk
> http://lists.flashguru.co.uk/mailman/listinfo/extendflash
>



More information about the Extendflash mailing list