ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Robert Koberg <...@koberg.com>
Subject Re: encoding help
Date Fri, 07 May 2004 21:17:39 GMT
The character is most likely correct. It is most likely that Ant outputs 
UTF-8 and your editor does not support it. (or it does not support what 
ant outputs (UTF-16 ?)).

Use an editor that understands UTF-8

best,
-Rob



Renato Gasparelli Cavalcante wrote:

> 
> hexedit
> 
> Matt Benson wrote:
> 
>> What are you using to view output.txt?
>>
>> --- Renato Gasparelli Cavalcante
>> <renatogc@vettatech.com> wrote:
>>  
>>
>>>    Hi
>>>
>>>    I have the following script:
>>>
>>> build.xml
>>>
>>>   
>>>
>>>> <?xml version="1.0" encoding="ISO-8859-1" ?>
>>>> <project name="testEncoding" default="main">
>>>>        <target name="main">
>>>>                <echo message="µ"
>>>>     
>>>
>>> file="output.txt"/>
>>>   
>>>
>>>>        </target>
>>>> </project>
>>>>     
>>>
>>> output.xml
>>>
>>>   
>>>
>>>> ?
>>>>     
>>>
>>>    Does anyone know wy the character 'µ' (MICRO
>>> SIGN |U+00B5| <http://www.eki.ee/letter/chardata.cgi?ucode=00B5>)
>>> is becoming '?' (QUESTION MARK  |U+003F| 
>>> <http://www.eki.ee/letter/chardata.cgi?ucode=003F>)
>>> ?
>>>

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Mime
View raw message