Skip to content

keys with unicode #361

@idnael

Description

@idnael

Using JavaFileKache.
I found that if one of the keys has a unicode char, when the kache is closed and opened again, it is cleared.

As a workaround, I'm now encoding the key to hex:
key = originalKey.toByteArray().toHexString()

And since I also neeed to get the original text for kache managing, I use:
originalKey = key.hexToByteArray().decodeToString()

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions