Thursday, May 1, 2014

Behaviour of the program with Netbeans and without Netbeans different?
































































Hello community,































































i have a really strange behaviour of my program.
































































I have a program written, that loads data from an csv file into my program.































































This is possible with the library named jCSV (http://ift.tt/1pTW7fj)
































































When i start my program with F5 or the PlayButton in Netbeans, my program starts.































































I load the csv data into my program and can go further on.
































































I check the data in the program and see, that the data was loaded successfully and also special signs are written correctly.































































For example "Pauls`s Academy" (All special signs are written correctly. UTF-8 conform)
































































When I check now the folder dist, there is my program called server.jar with a extra folder lib.































































I start now the program right out the windows explorer. (Without Netbeans)































































The program starts, I load the same csv like before, but after loading I have the strange behaviour that the data is not UTF-8 conform?!?































































When I now have a look at my data I see the same senctence: "Paul<?>s Academy"
































































How can that happen, that the program without Netbeans have another behaviour as with Netbeans?































































So and the next question is, how can i solve this? I don`t know where i should have a look or what I should do.
































































Hopefully somebody can help me out of here































































Thanks































































































































No comments:

Post a Comment