Is it a violation if the INI format to have a single linefeed (0x0A) that is not preceded by a carraige return (0x0D)?
Ini4j is puking on this in my Android app.
Please abstain from asking why I’m using INI in an Android app…
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Since
*.iniis a windows format, you can expect, that each newline must be\r\n.At least in the sources, only the
Registryclass definitivly relies on\r\n. In all other cases it seems, as if the system propertyline.separatoris used.It’s still arguable is a cross-plattform library should rely on it…
The problem can be resolved setting
setEmptyOption(true)e.g.