Hi this is my first post here. I have the next problem. I have to generate a PDF from a CSV file my user gets from another application (Mail merge doesn't work here because the data has to be interpreted not just presented in a pretty way), the issue is that the CSV uses latin1 as encoding and processing native methods for reading lines assume utf8, I've used the regular Java methods for reading files (those allow me to set the encoding of input) but the file won't open because it can't be found (not even using the whole path). I'm stuck and the only missing feature of my applet is the annoying lack of accentuated characters, Has anyone encountered a similar problem or has a solution? thanks.
Giving the full path should work. If you are on Windows, use / instead of \ as path separator. You can also use a line like File file = new File(dataPath(filename)); (found in Processing source code itself) to get a path to the data folder.
Leave a comment on PhiLho's reply
Change topic type
Link this topic
Provide the permalink of a topic that is related to this topic