Not sure about using encoding="Unicode" on javac. However I have used unicode in my java source and resource bundles.
I convert them to the standard java format using native2ascii then compile those files.


There is an optional ant task for this: http://ant.apache.org/manual/OptionalTasks/native2ascii.html

I use ant to convert my java classes and resources in /src to /src-temp, then compile the files in /src-temp
eg


<native2ascii encoding="Unicode" src="${src}" dest="${srctemp}" includes="**/*.java"/>



Shilpa Nalgonda wrote:

I am not able to compile resource bundle classes, which are .java files that
require unicode settings.  I am using ant scrpit to compile the files.

my ant scrpit look slike this:

<javac srcdir="${bundles}" destdir="${build}" encoding="Unicode">
        <classpath>
             <fileset dir="../oemjavalib">
                 <include name="*.jar"/>
             </fileset>
         </classpath>
      </javac>

I am using jdk1.4 and ant 1.4 to compile the files.

Should i chane any unicode setting? please suggest...


---------------------------------------------------------------------



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]






--
Jason Lea



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to