Skip to content

An escaped literal newline is replaced with a newline when settings value #5

@hupfdule

Description

@hupfdule

Calling

pf.setValue("neu", "Warten\\nFertsch");
System.out.println(pf.get("neu"));

results in

Warten
Fertsch

but it should be

Warten\nFertsch

java.util.Properties has the correct behaviour here.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions