Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

native2ascii necessary?

 
Josh Allen
Ranch Hand
Posts: 37
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Pie
Posts: 11865
194
C++ Firefox Browser IntelliJ IDE Java Mac Oracle
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
Josh Allen
Ranch Hand
Posts: 37
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 118
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic