- From: Leif Halvard Silli <hyperlekken@lenk.no>
- Date: Thu, 22 Nov 2007 14:53:38 +0100
- To: "www-amaya@w3.org" <www-amaya@w3.org>
When you click the 'defaults' button of the Publishing preferences, then Amaya sets the encoding to ISO-8859-1. However, the _real_ encoding default seesm to be be us-ascii. The user can select another (either ISO-8859-1 or UTF-8) default charset for him- or herself in the preferences. However, my experience is that Amaya always, at the first and best occassion, defaults back to us-ascii, regardless of how the user has altered the preferences. NOthing bad happens - really - when it creates US-ASCII files instead of UTF-8 files - but it means that all non-ASCII letters get numerical character entity encoding. And so I must decode the AMaya created pages if I want to edit them in a text editor ... Obviously, this must be a bug in the preferences behaviour somewhere. But may I propose for the developers that they simply make UTF-8 the default charset instead? I suppose that more users will be satisfied then - regardless of whether that preferences behavior is debugged or not. Running the text files of the Amaya application through my text editor, I found that 'us-ascii' is listed as the first (= default) charset in the file 'OpenDocDlgWX.xrc' and 'PreferenceDlgWX.xrc' (the developers probably know about other places as well). The resourcesin both files (3 instances alltogether) look like this: <object class="wxChoice" name="wxID_CHOICE_CHARSET"> <content> <item>us-ascii</item> <item>iso-8859-1</item> <item>utf-8</item> </content> </object> Perhaps all it would take is to place the UTF-8 value on top? I am on Mac OS X 10.4.10, on a PPC machine. -- leif halvard silli
Received on Thursday, 22 November 2007 13:54:00 UTC