- From: Irene Vatton <vatton@inrialpes.fr>
- Date: Thu, 22 Nov 2007 16:04:36 +0100
- To: Leif Halvard Silli <hyperlekken@lenk.no>
- Cc: "www-amaya@w3.org" <www-amaya@w3.org>
Hi, The encoding of Preferences dialogue is used for new created documents. If you want to change the encoding of an existing document you have to use the Save as command. On Thursday 22 November 2007 14:53, Leif Halvard Silli wrote: > 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. -- Irène. ----- Irène Vatton INRIA Rhône-Alpes INRIA ZIRST e-mail: Irene.Vatton@inria.fr 655 avenue de l'Europe Tel.: +33 4 76 61 53 61 Montbonnot Fax: +33 4 76 61 52 07 38334 Saint Ismier Cedex - France
Received on Thursday, 22 November 2007 15:08:15 UTC