File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Developer Certification (SCJD/OCMJD) and the fly likes native2ascii necessary? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Certification » Developer Certification (SCJD/OCMJD)
Bookmark "native2ascii necessary?" Watch "native2ascii necessary?" New topic
Author

native2ascii necessary?

Josh Allen
Ranch Hand

Joined: Jan 15, 2005
Posts: 37
Do I need to use native2ascii on all my files before I jar them up for submission? Or does jar take care of this. choices.txt must be in ascii character encoding, but the default for windows is Cp1252.

Should I also run it on my source .java files? I'm not sure what jar takes care of if anything and I don't have a unix box to test it on.
Andrew Monkhouse
author and jackaroo
Marshal Commander

Joined: Mar 28, 2003
Posts: 11404
    
  81

Hi Josh,

If you are at all concerned, then by all means run native2ascii. However most editors save files as plain text files - if you can open one of your java source files and your readme file in notepad then you should be Ok.

Regards, Andrew


The Sun Certified Java Developer Exam with J2SE 5: paper version from Amazon, PDF from Apress, Online reference: Books 24x7 Personal blog
Josh Allen
Ranch Hand

Joined: Jan 15, 2005
Posts: 37
Okay, well if it's not something that people do then I won't worry about it. I don't want to screw up my files by running native2ascii either, I'm not sure what would happen if you ran it twice on the same file for instance.
Lara McCarver
Ranch Hand

Joined: Dec 09, 2003
Posts: 118
You can always look at your file in textpad using binary mode, before and after running native2ascii. That way you will know what it did to your file.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: native2ascii necessary?
 
Similar Threads
how to convert a file from unicode character mode(\uFFFF) to normal mode ?
native2ascii -reverse Not Working
Attach file from JAR
migrating from Jboss4.0 to websphere 6.0
Please explain jar files