You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// Set a key to "a=b" and value "c"
p := properties.NewProperties()
p.Set("a=b", "c")
buf := new(bytes.Buffer)
p.Write(buf, properties.UTF8)
println(buf.String())
I'd espect the serialized version to be:
a\=b = c
Since the \ should be used to escape the first equal sign, but the program prints:
a=b = c
Which seems wrong. If saved in a file and read again, the key becomes "a" (while, when reading from the correct file, the key is correctly interpreted as "a=b").
The text was updated successfully, but these errors were encountered:
I'm doing the following test:
I'd espect the serialized version to be:
Since the
\
should be used to escape the first equal sign, but the program prints:Which seems wrong. If saved in a file and read again, the key becomes "a" (while, when reading from the correct file, the key is correctly interpreted as "a=b").
The text was updated successfully, but these errors were encountered: