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.
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.
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 <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 <action-encoding> relates — or not relates — to fwEncode.
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 <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.)
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 <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.)