Closed Alexandr682 closed 3 years ago
Hi
Thanks for raising an issue.
First off, I assume you mean in PeanutButter.INI
, since you didn't specify, and there are over 20 libraries which come out of this repo.
Secondly, I need to know the use-case, since if you're using either PeanutButter.INI
or win32 api to read from the file, quotes are perfectly fine (see remarks on https://docs.microsoft.com/en-us/windows/win32/api/winbase/nf-winbase-getprivateprofilestring -- GetPrivateProvileString will trim quotes, so enquoting is the safest option to preserve any required whitespace on a setting).
Before I invest time in providing more options, I need to know the circumstances under which PeanutButter.INI
should deviate from acceptable win32 practices:
@Alexandr682 I'm closing this due to inactivity; feel free to re-open if you can provide the requested information.
Quotes are added to all values. For example, i cannot save a number without quotes. It needs to be saved like this: speed = 6
but it turns out: speed = "6"