[Pro] Can Action files be UTF-8 encoded?

I tested a non-ASCII Hællø Wørld variant of the Hello World tutorial.

But instead of Hællø Wørld, it resulted in H√¶ll√∏ w√∏rld.

The reason is clearly that FrewayPro (5.5) thinks that the Action script file is in Mac Roman encoding — or something liek that. Thus it it reconverts the underlying UTF-8 code into UTF-8, once more.

Is there a know workaround for this?


actionsdev mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

Hi Leif,

If changing the encoding type of the file you’re working on to UTF-8 doesn’t fix it, try the adding the following to the very top of your Action:

<action-encoding>UTF-8</action-encoding>

If you have any more questions, don’t hesitate to ask.

Joe

On 7 Dec 2010, at 02:43, Leif wrote:

I tested a non-ASCII Hællø Wørld variant of the Hello World tutorial.

But instead of Hællø Wørld, it resulted in H√¶ll√∏ w√∏rld.

The reason is clearly that FrewayPro (5.5) thinks that the Action script file is in Mac Roman encoding — or something liek that. Thus it it reconverts the underlying UTF-8 code into UTF-8, once more.

Is there a know workaround for this?


actionsdev mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options


actionsdev mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

Is this a new tag? Could you please put mention of it on the Wiki?

Thanks,

Walter

On Dec 7, 2010, at 4:26 AM, Joe Billings wrote:

UTF-8


actionsdev mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

I can do that, and nope, it’s not new. I think it’s from the old Action API in fact.

Joe

On 7 Dec 2010, at 14:12, Walter Lee Davis wrote:

Is this a new tag? Could you please put mention of it on the Wiki?

Thanks,

Walter

On Dec 7, 2010, at 4:26 AM, Joe Billings wrote:

UTF-8


actionsdev mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options


actionsdev mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

On 7 Dec 2010, 8:26 am, Joe Billings:

If changing the encoding type of the file you’re working on to UTF-8 doesn’t fix it,

Please explain this part of your reply better: Should that have helped? All the editors I use default to UTF-8 as the encoding — so I have used UTF-8 all the time.

try the adding the following to the very top of your Action:

Thanks, adding &lt;action-encoding> did the trick!

Note: I searched the documentation as best as I could before asking, and roughly only found fwEncode when I searched for ‘encoding’. Thus I want to echo Walter’s question for documentation! And in that regard, please also explain how &lt;action-encoding> relates — or not relates — to fwEncode.


actionsdev mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

On 7 Dec 2010, 1:56 pm, Joe Billings:

I can do that, and nope, it’s not new. I think it’s from the old Action API in fact.

You should really also update your tech notes about this —or perhaps write a separete technote about the encoding issue.

In fact, just like a &lt;meta charset element is obligatory for HTML files, you should define this tag as obligatory — or very recommended — for «well formed» action files.

You should also explain how encoding is handled without this tag. (For instance, in HTML, the encoding then defaults to Windows-1252, most of the time.)

Just my 2 cents of moral talk …


actionsdev mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

Thanks Leif.

On 7 Dec 2010, at 15:21, Leif wrote:

On 7 Dec 2010, 1:56 pm, Joe Billings:

I can do that, and nope, it’s not new. I think it’s from the old Action API in fact.

You should really also update your tech notes about this —or perhaps write a separete technote about the encoding issue.

In fact, just like a &lt;meta charset element is obligatory for HTML files, you should define this tag as obligatory — or very recommended — for «well formed» action files.

You should also explain how encoding is handled without this tag. (For instance, in HTML, the encoding then defaults to Windows-1252, most of the time.)

Just my 2 cents of moral talk …


actionsdev mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options


actionsdev mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options