W3C home > Mailing lists > Public > www-amaya@w3.org > January to March 2005

i18n problem: saving iso-8859-2 as UTF8, character entry

From: Jakub Holý <j.holy@sh.cvut.cz>
Date: Wed, 26 Jan 2005 19:26:40 +0100
Message-ID: <41F7E0E0.9010309@sh.cvut.cz>
To: www-amaya@w3.org
Hi,

   I've just downloaded Amaya 9.0 and discovered it has some problems 
with internationalization (unless it's me who is causing them). A 
detailed description follows.

I. Saving an iso-8859-2 document as UTF8
Amaya can only save documents in utf-8, us-ascii or latin 1. If I open 
an iso-8859-2 document it's displayed correctly but as soon as I save & 
reload it all the non-latin 1 characters are either gone or turned in 
something else (forcing another encoding, such as iso 8859-2 doesn't 
help). It seems the problem is that Amaya 9.0 doesn't handle neither 
saving the document in the original encoding (iso 8859-2) nor reencoding 
it correctly into utf-8. If I reencode the document in question into 
utf-8 by an external converter and open it with Amaya all characters are 
displayed correctly and I can modify, save and reload the document 
without further problems.
Conclusion: Amaya should either preserve the original encoding or 
convert the document correctly into utf-8 (perhaps setting <meta 
http-equiv="Content-Type" content="text/html; charset=utf-8">).

II. Some iso-8859-2 characters cannot be typed
The character t with caron described below cannot be typed in a document 
- neither in the main view nor in the source code view - though it may 
be typed in the url field. If I copy and insert it from another 
application it's displayed correctly.
&#357;   Latin Small Letter T With Caron; unicode code: 0165

Note: Amaya 8.7 (at least the one I've compiled) haven't had this problems.

Platform info
Amaya 9.0 released 2005/1/6
OS: Debian Linux

Good luck in the bug hunting!
	
	Jakub Holy
-- 
e-mail: jakub.holy@centrum.cz
www:    http://jakubholy.webpark.cz/index.html
ICQ:    98180462

Received on Wednesday, 26 January 2005 18:22:58 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 1 April 2014 11:01:43 UTC