• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

native2ascii necessary?

 
Ranch Hand
Posts: 37
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
author and jackaroo
Posts: 12200
280
Mac IntelliJ IDE Firefox Browser Oracle C++ Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
Ranch Hand
Posts: 118
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
reply
    Bookmark Topic Watch Topic
  • New Topic