Title: Mensagem
Hi all,
 
I don't know if this is the correct place to post this question. If don't, let me know.
 
I wrote a XDoclet subtask to generate the ApplicationResources.properties file to be used in a struts application.
 
The subtask capture messages from java classes that uses the tag "struts.message". Example:
 
/**
 * @struts.message locale="en_US" name="report" value="Report"
 */
 
I invoke XDoclet as follow:
 
<webdoclet .... >
    :
    <strutsresources locale="en_US" />
    :
</webdoclet>
 
and the following output is produced:
 
ApplicationResource.properties:
 
report=Report
 
Until here everything works very fine. But I would like to generate i18n specific resources that include languages that use another character encoding like ISO-8859-1(like spanish and portuguese). So, when I try to use:
 
/**
 * @struts.message locale="pt_BR" name="report" value="Relat�rio"
 */
 
XDoclet produces:
 
 
instead of
 
report=Relat�rios
 
 
Why ? Something I miss ? Bug ?
 
I'm using XDoclet 1.2b4 and my subtask extends "xdoclet.TemplateSubTask".
 
 
TIA
 
--
Eduardo Franceschi
 

Reply via email to