ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Bevan Arps <bevan.a...@actfs.co.nz>
Subject RE: Ant, SAX Parser and Internationalization
Date Mon, 18 Feb 2002 22:13:50 GMT
At 16:50 18/02/2002 -0500, you wrote:
>Thanks Bevan, that helps to explain the issue. I've been to a few sites that
>indicated that UTF-8 chars included u00F8. Or perhaps I am confusing UTF-8
>with Unicode. Since we have to internationalize, I guess the best option is
>to get the default encoding at runtime and give it to Ant - and then pray!

UTF-8 is just a way of encoding all of the UniCode characters in a form 
that is closely backward compatible with 7-bit ASCII (note, not 8-bit ASCII).

Hence, we can use ASCII tools to write our build.xml files, our xslt 
programs and xml documents without problem.

So, UTF-8 DOES include the character u00F8 - but the encoding of it is not 
to write the character literally in the same way you do currently.

If I recall correctly, you should be able to write \u00F8 or something like 
that.

Hope this helps,
Bevan.



--
"Programming is an Art Form that Fights Back"

Bevan Arps (<mailto:bevan.arps@actfs.co.nz>bevan.arps@actfs.co.nz)
Senior OO Analyst, ACT Financial Systems

This communication  is confidential  to ACT  Financial  Systems  (Asia 
Pacific)  and is intended for  use only by the  addressee.   The  views and 
opinions  expressed in  this email  are the senders  own and do not 
represent  the  views  and  opinions of  ACT  Financial  Systems  (Asia 
Pacific).


Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message