aspose 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 Soft Skills this week in the Jobs Discussion 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: 11524
    
100

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?