Hi Folks,
I'm generating a EGL WEB Transaction program and it has a Portuguese characters (Á á Ó ó Ç ç ...).
First Case:
There is in the UIRecord variable and value:
5 CD_FUN int // Codigo Funcionario
{ uiType = inputOutput, sign = none,
displayName = "Codigo Funcionario"
} ;
and the Java source generated:
com.ibm.javart.webtrans.format.EGLNumericItemFormat newEds = new com.ibm.javart.webtrans.format.EGLNumericItemFormat( WEBT01A_UIR.CD_FUN );
newEds.setBean( this );
newEds.initializeInputs( 1 );
newEds.setLabel( "Codigo Funcionario" );
but show correctly in web browser:
Código Funcionário
Second Case:
There is in the DataTable with data values:
[0001, "Informatica "],
[0004, "Logistica "],
and the Java source genereted:
this.NM_005fDPT.getElement( ezeProgram, 1 ).setValue( "Informatica " );
this.NM_005fDPT.getElement( ezeProgram, 4 ).setValue( "Logistica " );
but show wrong in web browser:
<OPTION VALUE="2">Informatica
<OPTION VALUE="5">Log?stica
I did not found any build option to preserve the special characters when generate to java and running on windows.
How to do it ? Are there some generation option or preferences or project properties to set options ?
Ie. there is no problem In VisualAge Web Transaction running in ITF .
Thanks !!
Hsieh
Hsieh